[pkg-gnupg-maint] Bug#845565: Bug#853066: gnupg-agent: opens dialog on the wrong computer.

Teemu Likonen tlikonen at iki.fi
Sun Feb 5 09:52:26 UTC 2017


Teemu Likonen [2017-02-05 11:44:27+02] wrote:

> I'll just confirm the above and add that even executing
>
>     gpg-connect-agent updatestartuptty /bye
>
> on the remote ssh session shell (Bash) doesn't help. I tried
> gpg+pinentry with this command on the remote ssh session:
>
>     gpg -ac <<< message
>
> and pinentry-gnome3 opens its password prompt window in the running
> desktop session (XFCE4 in my case).

But one thing that helps is loopback mode for pinentry:

    gpg -ac --pinentry-mode loopback <<< message

So maybe one solution for the (remote) shell sessions' pinentry problem
is a shell alias like this:

    alias gpg="gpg --pinentry-mode loopback"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20170205/20fd73b5/attachment.sig>


More information about the pkg-gnupg-maint mailing list