Skip to content
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

Linux(Gnome): OS Keyring not available even with gnome-keyring installed #190062

Closed
BlankParticle opened this issue Aug 9, 2023 · 2 comments
Closed
Assignees

Comments

@BlankParticle
Copy link

BlankParticle commented Aug 9, 2023

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.81.0
  • OS Version: NixOS 23.11 (Tapir) x86_64

Steps to Reproduce:

  1. Install VSCode 1.81 on Gnome
  2. Try to sign in normally or with --password-store="gnome"
  3. Sign In with github

I get this error while trying to sign in with github

You're running in a GNOME environment but the OS keyring is not available for encryption. Ensure you have gnome-keyring or another libsecret compatible implementation installed and running.

image

I have gnome-keyring installed and didn't face this issue until 1.81, the issue goes away if I downgrade to 1.80

Same error occurs with --password-store="gnome", --password-store="gnome-libsecret" and --password-store="gnome-keyring".

I can sign in but it doesn't persist if I close and reopen VSCode, currently I am using --password-store="basic" as a work around.

This type of issue is reported in #187338, but I was suggested to create a new issue for my case.

Here is logs from code --verbose --vmodule="*/components/os_crypt/*=1" --disable-extensions --password-store="gnome"
logs.txt

@BlankParticle
Copy link
Author

Turns out it was a NixOS Problem as libsecret was not present as a run time dependency, I have tested locally with libsecret as runtime dependency and it works flawlessly even without --password-store="gnome", I will make a PR/issue to nixpkgs repo to fix this

@TylerLeonhardt
Copy link
Member

Cool glad you've figured it out! I'll close this since it sounds like the issue is on NixOS.

@TylerLeonhardt TylerLeonhardt closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants