[pkg-gnupg-maint] Bug#869416: pinentry-gtk2: fails to request passphrase when importing OpenPGP secret key with Seahorse
intrigeri
intrigeri at debian.org
Fri Aug 11 22:48:43 UTC 2017
Control: reassign -1 gnupg-agent
Control: found -1 2.1.18-8
Control: found -1 2.1.22-1
Hi again!
NIIBE & I just spent some time debugging this. After some strace &
shell wrapping fun, we identified that for some reason, gpg-agent runs
pinentry-gtk2 without $DISPLAY set in its environment, although it
(gpg-agent) does have $DISPLAY in its own environment according to
/proc/$(pgrep gpg-agent)/environ.
Pointing pinentry-program to a shell wrapper that exports DISPLAY=:0
before exec'ing pinentry-gtk-2 works around the problem.
So I'm reassigning this to gnupg-agent, where the root cause of the
problem seems to live.
Thanks a lot :)
More information about the pkg-gnupg-maint
mailing list