-
Notifications
You must be signed in to change notification settings - Fork 29.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You're running in a KDE environment but the OS keyring is not available for encryption. Ensure you have kwallet running. #189672
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.81.0. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
Could you try launching again but this time with I noticed this issue: flathub/com.google.Chrome#180 which mentioned this as a workaround. |
Adding that flag to the command,
I'm not entirely sure that it's using my
If this workaround indeed lets VS Code use |
Yeah so
from https://wiki.archlinux.org/title/KDE_Wallet Yeah it'll be under either Chromium Keys, Secret Service, or accounts.... not sure which, but the specific key we care about will end in |
Thank you so much for the clarification, that has made things much clearer! May I know what perhaps would be the next step forward? I'm assuming that the workaround of adding |
Well... this is tough because we don't maintain the flatpak and to me, this seems like a bug there. We (well Electron via Chromium) detect that you have So I think a fix really needs to be in the flatpak platform to get this communication to I would recommend getting an issue going over in: https://github.com/flathub/com.visualstudio.code |
Oh looks like there already is an issue: flathub/com.visualstudio.code#415 Let's dupe this over to there since I think this is really scoped to the flatpak. |
I did add this workaround to our docs: microsoft/vscode-docs#6577 |
I saw a similar Flatpak issue with a different application but didn't even realise that it was the cause, rather I thought that it's entirely got to do with the change I had read VS Code made related to reading/managing secrets.
Adding this bit to the docs is really helpful. This has been very pleasant and educational, thank you so much @TylerLeonhardt! |
Same thing with FreeBSD 13.2R + Code - OSS. Specifying --password-store=gnome-libsecret just changes the warning message to "You're running in a GNOME environment..." Both kwalletd5 and gnome-keyring-daemon are running. I don't know how they work but does vscode communicate with those programs to save/retrieve passwords? |
@scopedog please follow the troubleshooting guide here: https://code.visualstudio.com/docs/editor/settings-sync#_troubleshooting-keychain-issues |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
As requested by @TylerLeonhardt in #187842, I've ran
flatpak run com.visualstudio.code --verbose --vmodule="*/components/os_crypt/*=1"
and logged the output. The most notable snippet to me from the log, being:Please let me know if there's anything else I should include in this issue - such as the full output of the log. Thanks!
The text was updated successfully, but these errors were encountered: