-
Notifications
You must be signed in to change notification settings - Fork 867
Description
Version
0.14.2
Operating System
Linux
Distribution Method
AppImage (Linux)
Environment
- WSL2 version: 2.3.26.0
- WSL Kernel: 5.15.167.4-microsoft-standard-WSL2
- Host OS: Windows 10.0.22635.4515
- Guest OS: Ubuntu 24.04.1 LTS (Noble Numbat)
- Architecture: x86_64
- Installation method:
- Downloaded binary and symlinked to /usr/local/bin
- Run directly as user without sudo: git-butler
- Shell: zsh
- Additional components (not sure if needed):
- WSLg version: 1.0.65
- Direct3D version: 1.611.1-81528511
- MSRDC version: 1.2.5620
- DXCore version: 10.0.26100.1-240331-1435.ge-release
Describe the issue
Git Butler is failing to access the secure storage in WSL2 Ubuntu, showing "SS error: result not returned from SS API" and "No matching entry found in secure storage" errors. This appears to be a problem with the secure storage system interaction in the WSL2 environment.
How to reproduce
- Install and run Git Butler in WSL2 Ubuntu
- Try to access/set secure credentials (I tried setting Anthropic API Keys)
- Observe secure storage (SS) API errors in the logs
Expected behavior
Git Butler should be able to properly access and store credentials in the system's secure storage. Alternatively, what should I install in order to resolve this? I tried sudo apt install gnome-keyring dbus-x11 but since I'm in a WSL2 environment without a GUI, I can't access any graphical keyring manager.
This seems to be a WSL2-specific issue where the secure storage system might need additional configuration or an alternative approach for headless/non-GUI environments. How could I tackle this?
Relevant log output
2024-12-05T22:33:46.052193Z INFO secret_set_global:socket reader: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-3.15.2/src/socket_reader.rs:33: close time.busy=188µs time.idle=7.22ms handle="aiAnthropicKey" secret="<redacted>"
2024-12-05T22:33:46.053432Z ERROR secret_set_global: crates/gitbutler-tauri/src/secret.rs:15: error=Error(Couldn't access platform secure storage: SS error: result not returned from SS API
Caused by:
SS error: result not returned from SS API) handle="aiAnthropicKey" secret="<redacted>"
2024-12-05T22:33:46.053456Z INFO secret_set_global:socket reader: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-3.15.2/src/socket_reader.rs:33: close time.busy=310µs time.idle=15.6ms handle="aiAnthropicKey" secret="<redacted>"
2024-12-05T22:33:46.053567Z INFO secret_set_global: crates/gitbutler-tauri/src/secret.rs:15: close time.busy=16.7ms time.idle=95.1µs handle="aiAnthropicKey" secret="<redacted>"
[2024-12-05][22:33:46][ct@tauri://localhost/_app/immutable/entry/app.CnMUgsan.js:2:1438][ERROR] 08076a76ae364f37ac41f57bab4ac4e2: SS error: result not returned from SS API
s@tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:898
fromError@tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:1098
@tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:1306additional GUI errors:
f20058b3cd004815aeca20f380d86e94: SS error: result not returned from SS API s@tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:898 fromError@tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:1098 @tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:1306
6492b8c5dc9a45a3b716074aeda1d72b: No matching entry found in secure storage s@tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:898 fromError@tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:1098 @tauri://localhost/_app/immutable/chunks/ipc.C01P9Nyx.js:1:1306