Comment 0 for bug 1398367

Revision history for this message
Georg Altmann (george-george-net) wrote :

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