Cannot save password on saml2aws: "gpg: decryption failed: No secret key ERRO[0000] keychain Get returned error "
JacquesSyn opened this issue · 1 comments
JacquesSyn commented
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 commented
Looks similar to #332