gpg 2.1 gpg-agent over ssh

Ximin Luo infinity0 at pwned.gg
Sat Mar 28 12:40:32 CET 2015


On 28/03/15 12:21, Werner Koch wrote:
> On Fri, 27 Mar 2015 11:38, infinity0 at pwned.gg said:
> 
>> What is actually happening is that the gpg-agent it's connecting to,
>> is running a pinentry that's associated with the display on the
>> desktop session the *gpg-agent* is attached to, rather than the ssh
>> client, and there's no way for the ssh user to reach this.
> 
> Sure.  If you want to switch your active X-server you need to tell it
> gpg-agent:
> 
>   gpg-connect-agent updatestartuptty /bye
> 

What is this supposed to do? Also, I don't *want* my SSH session to be associated with X. Ideally gpg-agent should pop up a pinentry-curses dialog box. $DISPLAY isn't even set.

>> But physically going back to the desktop session doesn't show a pinentry popup, for some reason.
> 
> It shows up there until it times out.
> 

It doesn't, though. I am physically at both sessions at the same time.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150328/00fd626d/attachment.sig>


More information about the Gnupg-devel mailing list