Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot save password on saml2aws: "gpg: decryption failed: No secret key ERRO[0000] keychain Get returned error " #1287

Open
JacquesSyn opened this issue Jun 10, 2024 · 1 comment

Comments

@JacquesSyn
Copy link

JacquesSyn commented Jun 10, 2024

On Ubuntu 22.04.2 LTS, with saml2aws 2.36.16

I have a gpg key trusted "ultimately"

I attempted to :

  • Delete .saml2aws && .aws
  • Verify that the gpg-agent daemon is running with "gpg-agent --daemon"
  • Re-run "gpg --list-secret-keys" & check I have the key & secret key
  • Run :
export SAML2AWS_KEYRING_BACKEND=pass
export GPG_TTY=43200
saml2aws login --force

Getting this error :

gpg: decryption failed: No secret key
ERRO[0000] keychain Get returned error                   err="exit status 2" helper=linuxkeyring
To use saved password just hit enter.

And I cannot use it without password

@JacquesSyn
Copy link
Author

Looks similar to #332

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant