Timeline for How can I find out what keys gpg-agent has cached? (like how ssh-add -l shows you cached ssh keys)
Current License: CC BY-SA 3.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 4, 2017 at 10:13 | comment | added | gimmesudo | Use echo "KEYINFO --no-ask <key-id> Err Pmt Des" | gpg-connect-agent with the key-id you get from gpg --fingerprint --with-keygrip <email> | |
| Sep 19, 2016 at 16:53 | comment | added | Otheus | Could 2.0.14 be bugged? Using the technique above, gpg-agent does indeed have the desired passphrase for the specified key (identified by the keygrip), but when I attempt to sign with that keygrip, I am nonetheless prompted for a password. Why? | |
| May 4, 2016 at 16:22 | comment | added | Matei David | Using gpg-2.1.11 compiled from source on Ubuntu 14.04, I cannot figure out what the gpg-agent cache id is: I tried both keygrips (main key and subkey) and the key fingerprint, as shown by gpg --fingerprint --with-keygrip <user>. None of them works, and gpg-connect-agent always reports ERR 67108922 No data <GPG Agent>. I double checked the agent still has the passphrase by successfully running GPG_TTY= gpg --decrypt <file> after trying out various cache ids. (In case it's unclear, by unsetting GPG_TTY, decryption succeeds only if the passphrase is already cached by gpg-agent.) | |
| S Apr 25, 2016 at 20:47 | history | suggested | teissler | CC BY-SA 3.0 | fixed gpg-connect-agent binary name |
| Apr 25, 2016 at 19:49 | review | Suggested edits | |||
| S Apr 25, 2016 at 20:47 | |||||
| Feb 10, 2014 at 23:36 | history | bounty awarded | Hauke Laging | ||
| Feb 8, 2014 at 18:18 | comment | added | neirbowj | gpg-agent invokes whatever flavor of the pinentry program it is configured to use. See for example How to force GPG to use console mode pinentry.... | |
| Feb 6, 2014 at 22:21 | history | edited | Hauke Laging | CC BY-SA 3.0 | added 269 characters in body |
| Feb 6, 2014 at 22:17 | comment | added | Hauke Laging | The screen shot isn't pinentry but some GNOME program intercepting gpg-agent, is it? | |
| Jun 17, 2013 at 12:55 | history | bounty awarded | Eusebius | ||
| Jun 16, 2013 at 13:07 | comment | added | slm♦ | Terrific answer! I've been looking for days and couldn't find much on this. Way to put it all together and explain it in clear and concise terms! | |
| Jun 15, 2013 at 22:12 | vote | accept | user3243135 | ||
| Jun 15, 2013 at 2:08 | history | edited | slm♦ | CC BY-SA 3.0 | added image of dialog |
| Jun 14, 2013 at 16:08 | review | First posts | |||
| Jun 14, 2013 at 16:09 | |||||
| Jun 14, 2013 at 15:53 | history | answered | neirbowj | CC BY-SA 3.0 |