It seems that I changed the way /usr/local/bin/pinentry works at some
point without also changing the setting here.
# Inform gpg-agent of the current TTY for user prompts.
export GPG_TTY="$(tty)"
if [[ -n "$SSH_CONNECTION" ]]; then
# Inform gpg-agent of the current TTY for user prompts.
export GPG_TTY="$(tty)"
if [[ -n "$SSH_CONNECTION" ]]; then
- export PINENTRY_USER_DATA="USE_CURSES=1"
+ export PINENTRY_USER_DATA="curses"