Skip to content

Encryption is not available #1981

Open
Open
@TrayserCassa

Description

@TrayserCassa

🔍 Is there already an issue for your problem?

  • I have checked older issues, open and closed

📝 Description

I recently notice that I didn't get upgrades anymore and was logged out. I tried to login again but it seems my system has some missing dependencies.

I'm not able to login with OAuth or with the token method and in the logs I see the issue with Encryption is not available. I guess the storage system can't be encrypted which is an issue by my system but just wanted to ask if there is maybe a missing requirement or at least capture the error properly to show a hint.

My guess is that this pr is related to it #1800 but not 100% sure.

My system is ArchLinux
Node: v22.14.0

🪜 Steps To Reproduce

  1. Well install arch linux
  2. Have a missing dependency for electron
  3. Failed login without any warning or error (Besides terminal/Journal)

🪵 Log Excerpts

This error is the failed login for the browser session. If you want I can also add the logs for the PAT but I guess it's the same issue.

[98103:0429/114254.667532:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[98103:0429/114257.685543:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[98103:0429/114257.688279:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Opening in existing browser session.
11:43:01.305 › [main:second-instance] Second instance was launched.  extracting command to forward
11:43:01.308 › [main:handleUrl] forwarding URL gitify://auth?code=<some-code> to renderer process
11:43:01.308 › [renderer:auth-callback] received authentication callback URL gitify://auth?code=<some-code>
Error occurred in handler for 'gitify:safe-storage-encrypt': Error: Error while encrypting the text provided to safeStorage.encryptString. Encryption is not available.
    at /usr/lib/gitify/app.asar/build/main.js:2:289919
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:87415)
    at WebContents.emit (node:events:524:28)
11:43:01.615 › [loginWithGitHubApp] failed to login with GitHub Error: Error invoking remote method 'gitify:safe-storage-encrypt': Error: Error while encrypting the text provided to safeStorage.encryptString. Encryption is not available.
    at IpcRenderer.invoke (node:electron/js2c/renderer_init:2:7076)
    at async t.encryptValue (file:///usr/lib/gitify/app.asar/build/renderer.js:61:469855)
    at async t.addAccount (file:///usr/lib/gitify/app.asar/build/renderer.js:61:499005)
    at async file:///usr/lib/gitify/app.asar/build/renderer.js:2:276348
    at async file:///usr/lib/gitify/app.asar/build/renderer.js:2:46655

Gitify Version

6.2.1

Operating System

Linux

GitHub Account

GitHub Cloud

📸 Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp-wantedExtra attention is neededplatform:linuxRelated to linux buildpriority:lowItems of low importance. Applicable to select few users or use-cases

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions