GPG turned out completely broken after distribution update. Further debugging
revealed that the issue seemingly arises from gpg-agent failing with "error
sending to agent: No passphrase given".
Steps to reproduce:
- create secret key with zero-character passphrase
- try to import and use secret key with: gpg --allow-secret-key-import --import
secexport.asc
- hit enter on graphical password query
- receive error output:
gpg: key XXXXXXXX: "John <john@doe.com>" not changed
gpg: key XXXXXXXX/XXXXXXXX: error sending to agent: No passphrase given
gpg: Total number processed: 2
gpg: unchanged: 1
gpg: secret keys read: 2
I moved the ~/.gnupg directory and started fresh, no change.