GTK pinentry with gpg-agent as ssh-agent

Werner Koch wk at gnupg.org
Wed Mar 3 09:22:38 CET 2021


On Tue,  2 Mar 2021 10:35, Romain Lebrun Thauront said:

> So, is there a way to have BOTH gpg-agent managing ssh, and GTK
> pinentry prompts for unlocking keys ?

I use this for more than a decade.  You have to use

  gpg-connect-agent updatestartuptty /bye

if you switch your xserver; that is if you login from another machine or
account int the xserver where gpg-agent has been started.  With gpg or
gpgsm this is not required because they can tell gpg-agent about their
own environment.  ssh is not able to do this.  I have posted patch to
the openssh portable list to enhance ssh-agent but they have not yet
been merged.


Salam-Shalom,

   Werner

-- 
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: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210303/7cbf65ae/attachment.sig>


More information about the Gnupg-users mailing list