Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How does ssh know to use "pinentry"?
Date: Mon, 07 Jul 2014 01:30:56
Message-Id: CAGfcS_ne77GEPyzhKPMGGO4cZLmMVJ+uwd9J++W0S1=pnM9AVw@mail.gmail.com
In Reply to: Re: [gentoo-user] How does ssh know to use "pinentry"? by Chris Stankevitz
1 On Sun, Jul 6, 2014 at 9:18 PM, Chris Stankevitz
2 <chrisstankevitz@×××××.com> wrote:
3 > On Sun, Jul 6, 2014 at 5:45 PM, Rich Freeman <rich0@g.o> wrote:
4 >> GPG_AGENT_INFO tells ssh to use gpg-agent.
5 >
6 > Are you saying that the ssh software checks for the presence of the
7 > GPG_AGENT_INFO environment variable?
8
9 Actually, I'm probably wrong on that. In ssh agent mode I think that
10 gpg-agent also exports SSH_AUTH_SOCKET or something like that and
11 emulates ssh-agent, in addition to exporting GPG_AGENT_INFO.
12
13 If somebody knows the details feel free to post. For the most part
14 most desktop environments configure it to "just work."
15
16 Rich