aerc, gpg and pinentry
By chimo on (updated on )If you’re getting an error like “Screen or window too small” while trying to use gpg (ex: `gpg --import ./private.key`), one way to fix it might be to instruct gpg to use “pinentry-tty”
pinentry-program /usr/bin/pinentry-ttyNote that you might need to install pinentry-tty.
If you’re getting “failed to parse messagedetails: FAILURE sign” when aerc tries to sign a message, you might need to tell aerc to use terminal pinentry:
[general]
use-terminal-pinentry=true