How to make gpg prompt for passphrase on CLI March 13, 2023 by Tarik On a debian box: sudo apt install pinentry-tty sudo update-alternatives --config pinentry (and set it to pinentry-tty)