[pkg-gnupg-maint] Bug#951025: Bug#951025: gnupg: GPG tries to get passphrase from wrong place

Werner Koch wk at gnupg.org
Sun Feb 9 23:47:00 GMT 2020

> my passphrase on my desktop XFCE session. However, I am not at that
> computer, so I cannot provide it with a passphrase.

After having logged into the other box with ssh -X, run in that ssh

  gpg-connect-agent updatestartuptty /bye

This tells gpg-agent on which DISPLAY or tty it should pop up the
pinentry.  In contrast to gpg ssh and the ssh-agent protocol have no way
to convey the DISPLAY and other envvars to gpg-agent, thus you need to
tell it manually.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20200210/ea29da06/attachment.sig>

More information about the pkg-gnupg-maint mailing list