JAFLabs / wa.dev-issues

File an issue about wa.dev
3 stars 0 forks source link

Error on registry login #3

Closed allurefx closed 1 month ago

allurefx commented 3 months ago

I just signed up, but see the below error on registry login.

error: failed to get signing: Platform secure storage failure: zbus error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
calvinrp commented 3 months ago

sudo apt-get install -y gnome-keyring should fix this. Let me know.

The Warg CLI relies on OS functionality for securely managing on-device secrets. Linux installs appear to lack the keyring, by default. When we publish the Warg CLI to the OS package managers, this dependency issue should be simplified as part of the install.

Sorry for the delay in seeing your message, trying to adjust my GitHub notifications.

calvinrp commented 2 months ago

Just released a fix. Update the warg client to v0.4.2 or higher. Fixed with https://github.com/bytecodealliance/registry/pull/270

cargo install warg-cli

calvinrp commented 1 month ago

Actually, not quite solved yet. See https://github.com/bytecodealliance/registry/issues/271

calvinrp commented 1 month ago

Fixed in warg-cli release 0.7.0.

There is better error messaging and suggestions when keyring service is not available. Also, you can configure a different keyring backend, such as warg config --keyring-backend flat-file.