-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Labels
bugSomething isn't workingSomething isn't workinghelp-wantedExtra attention is neededExtra attention is neededplatform:linuxRelated to linux buildRelated to linux buildpriority:lowItems of low importance. Applicable to select few users or use-casesItems of low importance. Applicable to select few users or use-cases
Description
🔍 Is there already an issue for your problem?
- I have checked older issues, open and closedTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
📝 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
- Well install arch linux
- Have a missing dependency for electron
- 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
tombojer
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp-wantedExtra attention is neededExtra attention is neededplatform:linuxRelated to linux buildRelated to linux buildpriority:lowItems of low importance. Applicable to select few users or use-casesItems of low importance. Applicable to select few users or use-cases
Activity
setchy commentedon Apr 29, 2025
Thanks for reporting.
I wonder what it is with your OS that causes the safeStorage API to fail
TrayserCassa commentedon Apr 29, 2025
I thought somebody of you have already an idea about this, but I can have a look tomorrow to see what it is. With this issue I would aim for a better error message and maybe check beforehand if the safeStorage is working. But you should not fallback to insecure storage tbh. I guess it's a edge case issue so I will take a look and report it back.