Package: gnupg-agent
Version: 2.0.14-1
Severity: important

Hi there!

It seems that `git tag -s` and gpg-agent fails to cooperate and do not
show the pinentry dialog (in my case the -curses variant inside screen):
=====
l...@gismo:~/Lab/thesis/text(git)[master]$ \
 git tag -s -u E397832F -m "submitted" submitted $COMMIT

You need a passphrase to unlock the secret key for
user: "Luca Capello <[email protected]>"
4096-bit RSA key, ID 3BE9F36D, created 2009-07-01 (main key ID E397832F)

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

l...@gismo:~/Lab/thesis/text(git)[master]$
=====

The workaround is to do a `gpg --sign` before `git tag -s` and then
everything will work.

This is not the first time I need a workaround for gpg-agent/pinentry
(e.g. GNU Emacs Multi-TTY on text console), thus I still wonder why
there is not yet a pinentry implementation which mimics the old
behavior, i.e. it simply asks for a passphrase without the need to lock
the entire terminal or show a dialog window.

Thx, bye,
Gismo / Luca

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnupg-agent depends on:
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libgcrypt11                   1.4.5-1    LGPL Crypto library - runtime libr
ii  libgpg-error0                 1.6-1      library for common error values an
ii  libpth20                      2.0.7-14   The GNU Portable Threads
ii  libreadline6                  6.1-1      GNU readline and history libraries
ii  pinentry-curses [pinentry]    0.7.6-1    curses-based PIN or pass-phrase en

Versions of packages gnupg-agent recommends:
ii  gnupg                         1.4.10-2   GNU privacy guard - a free PGP rep

gnupg-agent suggests no packages.

-- no debconf information

Attachment: pgpV4o0IG3K9q.pgp
Description: PGP signature

Reply via email to