[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:44:27 UTC 2017


Charles Plessy [2017-01-31 22:57:07+09] wrote:

> Le Sun, Jan 29, 2017 at 10:35:10PM +0900, Charles Plessy a écrit :
>> when I am logged on my desktop computer directly with a GNOME shell
>> session, and remotly via SSH, attempts to use gpg from the SSH
>> session will open a popup on my desktop computer's screen to enter
>> the passphrase, which obviously prevents me from entering the
>> passphrase when I am far from the desktopp computer (which is why I
>> connect to it via SSH).

> Like in Adam's and Vincent's cases, if I have a graphical session
> open, then my passphrase will be asked in this graphical session, even
> if I ran gpg in a SSH sesion and I have no physical access to my
> graphical sesssion. This happens regardless of the screen being locked
> or not, and setting GPG_TTY or unsetting DBUS_SESSION_BUS_ADDRESS did
> not help to solve the problem.

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).

My test environment is the current Debian testing in virtual machine
(Qemu) and ssh connection was made from the host machine.
-------------- 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/09f0a3bd/attachment.sig>


More information about the pkg-gnupg-maint mailing list