pinentry-gtk-2 IPC issue

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


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

> Any recommendations on how to debug?

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

=========
#!/bin/sh

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
=======

add

pinentry-program /foo/pinentry-wrapper

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


Shalom-Salam,

   Werner




More information about the Gnupg-users mailing list