Package: git-core
Version: 1:1.5.3.4-1
Severity: normal

Hi,
after "apt-get install gnupg-agent pinentry-curses" and logging into X
again signing tags with a now running gpg-agent fails with:

    $ git-tag -s  -u 3f3e6426 -m foo bar

    You need a passphrase to unlock the secret key for
    user: "Guido Guenther <[EMAIL PROTECTED]>"
    1024-bit DSA key, ID 0x9FCF2CCD3F3E6426, created 1999-09-27

    gpg: cancelled by user
    gpg: skipped "3f3e6426": bad passphrase
    gpg: signing failed: bad passphrase
    error: gpg failed to sign the tag
    fatal: unable to sign the tag

But when I sign another file first (so gpg-agent won't ask for a
passphrase) and then invoke the same command:

$ git-tag -s  -u 3f3e6426 -m foo bar

You need a passphrase to unlock the secret key for
user: "Guido Guenther <[EMAIL PROTECTED]>"
1024-bit DSA key, ID 0x9FCF2CCD3F3E6426, created 1999-09-27

...everything's fine. It seems the pinentry-curses interface can't
be fired up by gpg-agent to ask for the passphrase. If I also install
pinentry-gtk2 everything works fine too since not curses but a gtk2
dialog is being used to ask for the passphrase.

Cheers,
 -- Guido


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.23-g810cf2b6
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-core depends on:
ii  cpio                    2.9-4            GNU cpio -- a program to manage ar
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libcurl3-gnutls         7.17.0-1         Multi-protocol file transfer libra
ii  libdigest-sha1-perl     2.11-2           NIST SHA-1 message digest algorith
ii  liberror-perl           0.15-8           Perl module for error/exception ha
ii  libexpat1               1.95.8-4         XML parsing C library - runtime li
ii  perl-modules            5.8.8-11.1       Core Perl modules
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

Versions of packages git-core recommends:
ii  curl                         7.17.0-1    Get a file from an HTTP, HTTPS or 
ii  git-doc                      1:1.5.3.4-1 fast, scalable, distributed revisi
ii  less                         408-2       Pager program similar to more
ii  openssh-client [ssh-client]  1:4.6p1-5   secure shell client, an rlogin/rsh
ii  patch                        2.5.9-4     Apply a diff file to an original
ii  rsync                        2.6.9-5     fast remote file copy program (lik

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to