pinentry-tty does not accept backspace, delete, or control-U (delete all input) when typing a passphrase. If I type any of these keystrokes when entering a passphrase (say, to correct a mistyped character), authentication fails. Looks like this issue has been addressed in 2015, but it doesn't work on my system.
Every other tty-based passphrase-reading program in the universe accepts at least backspace (and many accept ctrl-U) so the user can make corrections. Is this a bug in pinentry-tty? Or is there some way to configure pinentry-tty to permit corrections?
Thank you.
$ cat /etc/issue Ubuntu 18.04.2 LTS \n \l $ pinentry --version pinentry-qt (pinentry) 1.1.0 Copyright (C) 2016 g10 Code GmbH License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ gpg --version gpg (GnuPG) 2.2.4 libgcrypt 1.8.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: /home/dbarrett/.gnupg Supported algorithms: Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2