What I’m trying to do
I’m using Obsidian v1.12.7 on NixOS (a distribution of Linux). On NixOS, the Obsidian binary is obtained by directly compiling the .tar.gz file in Obsidian GitHub releases.
When I am using some secrets saved in Obsidian Keychain (which was introduced in v1.11.4) Obsidian constantly prompt me that the encryption of the secrets is unavailable due to missing system secret storage provider, even if my machine has a provider installed.
Things I have tried
- Install
gnome-keyringon my machine and add it to the PATH.
Didn’t help. - Make
gnome-keyring-demonrunning and providexdg-desktop-portal.Secret
Didn’t help.
However, after setting up gnome-keyring, other software on my system (like Zed Editor) did detect it and begun to use it to store credentials. So the problem is not at gnome-keyring.
Since Bug reports forbids any Linux bug reports outside Snap, AppImage, Gnome and KDE, so I need to figure out this myself. However, the way that Obsidian finds system secret storage on Linux is too mysterious to reason about. I want to ask whether anyone has clue on how it handles system secret providers on Linux, and how should I configure my system so that Obsidian can detect my secret storage.
Thanks.
