On Sun, Jul 6, 2014 at 8:40 PM, Chris Stankevitz <[email protected]> wrote: > > On another note, from my OP, I am still curious how the ssh software > knows to use /usr/bin/pinentry to fetch my passphrase. In a follow-up > post, I discovered that this mechanism only works if an environment > variable called GPG_AGENT_INFO is set. I doubt the ssh source code > contains the string "/usr/bin/pinentry" or "GPG_AGENT_INFO".
GPG_AGENT_INFO tells ssh to use gpg-agent. ~/.gnupg/gpg-agent.conf tells gpg-agent to use pinentry. Rich

