Steps to reproduce:
- Encrypt a file with
gpg --encrypt. - Try to decrypt the encrypted file with
gpg --decrypt.
Expected Output:
gpg takes secret key passphrase with pinentry and decrypts the file.
Actual Output:
gpg: encrypted with 255-bit ECDH key, ID 455DE0C577C7C698, created 2021年08月11日
"orewbaka (ed25519) <orewbaka@gmail.com>"
gpg: public key decryption failed: Required environment variable not set
gpg: decryption failed: No secret key
Setting TERM=xterm before decrypting fixes the issue.
Also, this issue appeared after the latest update (1.9.0).
Wayland Compositor: sway version 1.6.1
foot version: 1.9.0 +pgo +ime +graphemes
Log output is normal