Pinentry opened and immediately closed in Ubuntu Netbook Remix

Bug #527399 reported by Steve Holmes on 2010-02-24
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnupg2 (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: gnupg2

While trying to submit my first patch, using Ubuntu Netbook Remix (Karmic), the gpg passkey is required. Rather than requesting it in the terminal, a PinEntry window is opened. This window closes immediately. The terminal reads:

gpg: Invalid passphrase; please try again ...

You need a passphrase to unlock the secret key for
user: "Steve Holmes (eee key) <email address hidden>"
1024-bit DSA key, ID E679FC10, created 2010-02-24

The window opens and closes three times in all, then the build process fails.

ProblemType: Bug
Architecture: i386
CheckboxSubmission: a02489cfb18b4c1c38a36b5b46a3aa2f
CheckboxSystem: 9c26adf6eed2f681ba41f94dd24c07e4
Date: Wed Feb 24 22:10:02 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
Package: gnupg-agent 2.0.12-0ubuntu2
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gnupg2
Tags: ubuntu-unr
Uname: Linux 2.6.32-020632-generic i686

Steve Holmes (bouncysteve) wrote :

I'm a bit surprised. reportbug shouldn't run gnupg2. Or did you run a different command?

You might further simply turn off the gnupg-agent in .gnupfg/gpg.conf. This is something Ubuntu enables even for gnupg 1.4 (for whatever reason, see https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/367163 for the bad impacts).

Steve Holmes (bouncysteve) wrote :

Thanks Daniel. The workaround is successful.

(I think I ran ubuntu-bug gnupg-agent, I can't remember)

I'd now be tempted to mark this as a duplicate of bug 367163, EXCEPT that my main issue is not that the Pinentry dialog opened, but that (at least in UNR) it closed again immediately. I've seen this happen when running debuild, and also when signing a mail in Evolution (so it's not really about the dialog being launched from the terminal, but just that the dialog is not usable.)

Rolf Leggewie (r0lf) wrote :

confirming for lucid the problem of a pinentry window opening and immediately closing for three tries before failing. This essentially renders gpg-agent useless.

Changed in gnupg2 (Ubuntu):
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers