Bug #1332864 describes the same problem, but in a less technical description.
** Description changed: - With + With pinentry-program /usr/bin/pinentry-qt4 in ~/.gnupg/gpg-agent.conf gpg fails: $ killall ssh-agent gpg-agent - $ eval $(gpg-agent --daemon --enable-ssh-support) + $ eval $(gpg-agent --daemon --enable-ssh-support) $ env |grep GPG GPG_AGENT_INFO=/tmp/gpg-EAhfxo/S.gpg-agent:29145:1 $ gpg --decrypt foo-message.txt You need a passphrase to unlock the secret key for user: "xxxxxxx" 2048-bit RSA key, ID xxxxxxx, created xxxxxxx (main key ID xxxxxxxxxxx) gpg: problem with the agent - disabling agent use ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - With + With pinentry-program /usr/bin/pinentry-gtk-2 in ~/.gnupg/gpg-agent.conf pinentry pops up as expected with the same command entered as above. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: gnupg-agent 2.0.22-3ubuntu1.1 ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10 Uname: Linux 3.13.0-40-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.1-0ubuntu3.5 Architecture: amd64 CurrentDesktop: XFCE Date: Tue Dec 2 12:43:55 2014 InstallationDate: Installed on 2014-10-09 (53 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) SourcePackage: gnupg2 UpgradeStatus: No upgrade log present (probably fresh install) - upstart.gpg-agent.log: - gpg-agent[23301]: /home/uh31yzim/.gnupg/gpg-agent.conf:12: argument not expected - gpg-agent[24867]: /home/uh31yzim/.gnupg/gpg-agent.conf:12: argument not expected -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1398367 Title: gpg-agent fails with pinentry-qt4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1398367/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs