Replies: 1 comment 2 replies
-
I had the exact same issue, a colleague suggested a workaround that works for me: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Windows Version
Microsoft Windows [Version 10.0.22621.1265]
WSL Version
1.1.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.90.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Jan 27 02:56:13 UTC 2023
Distro Version
Arch Linux latest
Other Software
secret-tool
libsecret 0.20.5-2
gnome-keyring 1:42.1-2
Repro Steps
I'm using an Arch Linux custom environment where I installed gnome-keyring and libsecret for using secret-tool.
When I run
secret-tool store --label='test' key value
by CLI, I get:Even if I run
secret-tool lookup key value
I get:When I connect to this machine by Remote Desktop Service, secret-tool works correctly. This issue occurs only when I use the Windows Command Line.
However, by command line the GUI applications work correctly, indeed if I run
code
, despite the CLI, it opens the Visual Code GUI correctly, so I'm not sure if the secret-tool issue could be related to the way Xorg talks with WSL in an Arch Linux environment.My
$HOME/.xinitrc
file has the following content:The value of the specified env variables above are:
DBUS_SESSION_BUS_ADDRESS:
unix:path=/run/user/0/bus
DISPLAY:
:0
XAUTHORITY: empty
Expected Behavior
secret-tool stores the secrets correctly.
Actual Behavior
When I run
secret-tool store --label='test' key value
by CLI, I get:Even if I run
secret-tool lookup key value
I get:Diagnostic Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions