Skip to content

Support Linux "Niri" desktop environment for password storage / OSCrypt backend #285777

@josh-sukheja

Description

@josh-sukheja

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

  • VS Code Version: 1.107.1
  • OS Version: NixOS: 26.05.20260102.fb7944c (Yarara), Linux 6.18.0 #1-NixOS SMP PREEMPT_DYNAMIC x86_64 GNU/Linux

Steps to Reproduce:

I am running the Niri compositor / almost-desktop-environment. I have gnome-keyring installed and use Gnome Display Manager for login. I have confirmed gnome-keyring is running via ps aux | grep gnome-keyring.

When I run VSCode and try to sign in with my github account to sync settings, I can login correctly in the browser and get sent back to VSCode. But I see this error popup:

Image

When I follow the troubleshooting steps online, I get these verbose logs:

[256176:0104/144853.840039:VERBOSE1:components/os_crypt/sync/key_storage_util_linux.cc:46] Password storage detected desktop environment: (unknown)
[256176:0104/144856.221683:VERBOSE1:components/os_crypt/sync/key_storage_util_linux.cc:46] Password storage detected desktop environment: (unknown)
[256176:0104/144856.221699:VERBOSE1:components/os_crypt/sync/key_storage_linux.cc:116] Selected backend for OSCrypt: BASIC_TEXT
[256176:0104/144856.221725:VERBOSE1:components/os_crypt/sync/key_storage_linux.cc:135] OSCrypt did not initialize a backend.

These same troubleshooting steps say to open an issue here for unknown desktop environments. So here I am 🙂

Finally, when I run code --password-store="gnome-libsecret". I can successfully sign in with settings sync, no issues at all.

Metadata

Metadata

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions