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