Skip to content

Commit

Permalink
chore: Provide instructions that help to resolve a problem with missi…
Browse files Browse the repository at this point in the history
…ng keychain (#347)

I found out that certain headless linux systems don't implement keyring.
For example on WSL we can`t use keychain because it is not seted up by
default. User need to install gnome-keyring with pip3, start D-bust
session and unlock keychain. Close
#299
  • Loading branch information
AlexKushnir1 authored Jun 2, 2024
1 parent ad3447b commit daaa0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ pub fn save_access_key_to_keychain(
keyring::Entry::new(&service_name, &format!("{}:{}", account_id, public_key_str))
.wrap_err("Failed to open keychain")?
.set_password(key_pair_properties_buf)
.wrap_err("Failed to save password to keychain")?;
.wrap_err("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")?;

Ok("The data for the access key is saved in the keychain".to_string())
}
Expand Down

0 comments on commit daaa0ba

Please sign in to comment.