You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while trying to use near login to deploy a Rust contract for the NEAR auction tutorial on a Linux environment (running in Windows, WSL). The CLI fails to save the access key to the keychain due to a missing org.freedesktop.secrets service.
Steps to Reproduce:
Run the command:
near login
Follow the provided URL to authenticate via the browser.
Return to the CLI and enter the account ID as prompted.
Select the option to save the access key in the keychain.
Encounter the following error:
Error Message:
Failed to open a temporary file to store a cli command
Error:
0: Failed to save the access key <ed25519:...> to the keychain
1: Failed to save password to keychain. You may need to install the secure keychain package by following this instruction: https://github.com/jaraco/keyring#using-keyring-on-headless-linux-systems
2: Platform secure storage failure: DBus error: The name org.freedesktop.secrets was not provided by any .service files
3: DBus error: The name org.freedesktop.secrets was not provided by any .service files
4: The name org.freedesktop.secrets was not provided by any .service files
Location:
src/common.rs:1349
Expected Behavior:
The CLI should successfully save the access key to the selected keychain without errors.
Actual Behavior:
The CLI fails to save the access key, indicating a missing org.freedesktop.secrets service.
Environment:
NEAR CLI version: near-cli-rs 0.17.0
Operating System: windows 11
The text was updated successfully, but these errors were encountered:
tldr; when login in a system that does not support keychains the user gets an error if they choose to save the keys into the keychain (which is always the first option)
we could:
either not show keychains if the system does not support them
either default to legacy-keychain if saving into the keychain raises an error
Description:
I encountered an issue while trying to use
near login
to deploy a Rust contract for the NEAR auction tutorial on a Linux environment (running in Windows, WSL). The CLI fails to save the access key to the keychain due to a missingorg.freedesktop.secrets
service.Steps to Reproduce:
Error Message:
Expected Behavior:
The CLI should successfully save the access key to the selected keychain without errors.
Actual Behavior:
The CLI fails to save the access key, indicating a missing
org.freedesktop.secrets
service.Environment:
The text was updated successfully, but these errors were encountered: