When I use
pinentry-program /usr/bin/pinentry-curses
in ~/.gnupg/gpg-agent.conf and I do:
$ gpg -d file.gpg
I get:
┌──────────────────────────────────────────────────────┐
│ Enter passphrase │
│ │
│ │
│ Passphrase: ________________________________________ │
│ │
│ <OK> <Cancel> │
└──────────────────────────────────────────────────────┘
Then if I type Ctrl-C, I get back to the shell, but pinentry-curses
is still running and grab keys, making the terminal and the shell
unusable: some keys go to the shell (I've tried with both bash and
zsh), other keys go to pinentry-curses, randomly. If I quit the
terminal, then pinentry-curses takes 100% CPU time until I manually
kill it.
Control: reassign -1 gpg-agent 2.2.17-3 Control: retitle -1 gpg-agent: does not terminate pinentry on Ctrl-C (SIGINT) According to the upstream bug, the issue is in gpg-agent (and fixed there upstream, not yet in Debian). Thus reassigning the bug.
The bug is still there. Fixed upstream in 2019, but unfortunately, only for GnuPG 2.3.