pinentry-gtk-2 IPC issue

timotheus timotheus at tstotts.net
Sat Jul 21 22:26:59 CEST 2007


Hi. The following issue just appeared for me, without upgrading kernel,
changing keyring, etc. No change in file permissions or rebooting seems
to resolve it.


% gpg --sign --detach-sign myfile.txt

You need a passphrase to unlock the secret key for
user: .........
1024-bit DSA key, ..............

gpg: problem with the agent: Invalid IPC response
gpg: no default secret key: General error
gpg: signing failed: General error


Problem appears to be with misbehaving /usr/bin/pinentry-gtk-2 .
Changing pinentry version to qt or curses in ~/.gnupg/gpg-agent.conf
works-around the issue.

% /bin/ls -lh /usr/bin/pinentry*
lrwxrwxrwx 1 root root   11 2007-07-21 16:13 /usr/bin/pinentry -> pinentry-qt
-rwxr-xr-x 1 root root  35K 2007-07-21 16:08 /usr/bin/pinentry-curses
-rwxr-xr-x 1 root root  80K 2007-07-21 16:08 /usr/bin/pinentry-gtk-2
-rwxr-xr-x 1 root root 117K 2007-07-21 16:08 /usr/bin/pinentry-qt


The behavior does not change when downgrading, upgrading, or recompiling
libassuan or pinentry. Pinentry is compiled with Linux POSIX
capabilities.

% zgrep '[V_]IPC[_=]' /proc/config.gz 
CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set
CONFIG_SYSVIPC_SYSCTL=y

libassuan 1.0.2
gnupg 2.0.5
dirmngr 1.0.0
libgcrypt 1.2.4
libksba 1.0.2
libgpg-error 1.5
curl 7.15.5
pinentry 0.7.3


Any recommendations on how to debug?

Regards,
-timotheus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : /pipermail/attachments/20070721/72a5cb01/attachment-0001.pgp 


More information about the Gnupg-users mailing list