Hi Luca, On Thu, Feb 04, 2010 at 12:32:21PM +0100, Luca Capello wrote: > 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): > ===== > luca@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 <l...@pca.it>" > 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
While this comes too late for signing the tag of your submitted thesis (congratulations!), this is likely caused by a missing GPG_TTY variable. https://www.gnupg.org/documentation/manuals/gnupg/Common-Problems.html The gpg-agent man page nowadays includes the following hint: It is important to set the GPG_TTY environment variable in your login shell, for example in the ‘~/.bashrc’ init script: export GPG_TTY=$(tty) Regards, Peter