git tag sign misbehaving

2012-07-19

Git tagging is somewhat broken for me. If I want to sign the tag the password prompt wont appear, and instead I'm seeing the following error multiple times:

pinentry-curses: no LC_CTYPE known - assuming UTF-8

It has probably something to do with me not running gpg-agent daemon, or something. Anyway, setting GPG_TTY with

export GPG_TTY=$(tty)

fixes the issue, and the ncurses prompt for the password appears as it is intended.