pinentry-gtk-2 IPC issue

Werner Koch wk at
Mon Jul 23 07:11:40 CEST 2007

On Sat, 21 Jul 2007 22:26, timotheus at said:

> Any recommendations on how to debug?

What I usually do is to create a wrapper /foo/pinentry-wrapper:


printenv >/tmp/pinentry.env
exec strace -o /tmp/pinentry.trc -e read=0 \
    /somewhere/pinentry/gtk+-2/pinentry-gtk-2 -e -d "$@" 2>/tmp/pinentry.err


pinentry-program /foo/pinentry-wrapper

to gpg-agent.conf, and give gpg-agent a HUP.  Then check the log files.



More information about the Gnupg-users mailing list