Package: gnupg-agent
Version: 1.9.15-6
Severity: normal

If gpg-agent is being used on a system, but the passphrase is not
cached, the signing done as part of other programmes will fail
(rather than prompt the caching of the passphrase):

For instance, with dpkg-buildpackage:

  signfile libtut_0.0.20050622-1.dsc

  You need a passphrase to unlock the secret key for
  user: "Martin F. Krafft <[EMAIL PROTECTED]>"
  1024-bit DSA key, ID 330C4A75, created 2001-06-20

  gpg: cancelled by user
  gpg: skipped "330c4a75": bad passphrase
  gpg: [stdin]: clearsign failed: bad passphrase

The same applies to baz/bazaar and debsign/devscripts.

I assume that the problem is related somehow to the file descriptor
used to read the passphrase, but I am in no way familiar with
gpg-agent to be able to tell.

If the passphrase is already cached in the agent, things work as
expected.

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-cirrus
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages devscripts depends on:
ii  debianutils                   2.14.1     Miscellaneous utilities specific t
ii  dpkg-dev                      1.13.10    Package building tools for Debian
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  perl                          5.8.7-4    Larry Wall's Practical Extraction 
ii  sed                           4.1.2-8    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.2.10     Gives a fake root environment

-- no debconf information

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
"there was no difference between the behavior of a god
 and the operations of pure chance..."
                              -- thomas pynchon, "gravity's rainbow"

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to