[Bug 1398367] [NEW] gpg-agent fails with pinentry-qt4

Georg Altmann george at george-net.de
Tue Dec 2 11:52:37 UTC 2014


Public bug reported:

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)

** Affects: gnupg2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: pinentry-qt4 (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug regression-proposed trusty

** Package changed: gnupg2 (Ubuntu) => pinentry-qt4 (Ubuntu)

** Also affects: gnupg2 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1398367

Title:
  gpg-agent fails with pinentry-qt4

Status in gnupg2 package in Ubuntu:
  Confirmed
Status in pinentry-qt4 package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1398367/+subscriptions



More information about the foundations-bugs mailing list