gpg-agent fails with pinentry-qt4

Bug #1398367 reported by Georg Altmann
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnupg2 (Ubuntu)
Confirmed
Undecided
Unassigned
pinentry (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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 commands used 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)

Revision history for this message
Georg Altmann (george-george-net) wrote :
affects: gnupg2 (Ubuntu) → pinentry-qt4 (Ubuntu)
Revision history for this message
Georg Altmann (george-george-net) wrote :

removed upstart.gpg-agent.log, since it held obsolete messages not applying to the problem.

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

Bug #1332864 describes the same problem, but in a less technical description.

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnupg2 (Ubuntu):
status: New → Confirmed
Changed in pinentry-qt4 (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Mario Limonciello (superm1) wrote :

update source package to pinentry (it's been moved)

affects: pinentry-qt4 (Ubuntu) → pinentry (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.