mu4e-send-delay to send emails with a delay, GPG to store my SMTP authentication, and
pinentry to access GPG files. When I am prompted for the GPG encryption password in the mini-buffer but am typing in another buffer and don't notice it, Emacs remembers that entry and keeps trying to open the GPG file with that wrong password. I then get the
*Error* buffer next to my other buffer:
Error while decrypting with "/usr/local/bin/gpg": gpg: AES encrypted data gpg: gcry_kdf_derive failed: Invalid data gpg: encrypted with 1 passphrase gpg: decryption failed: No secret key
and a user dialog
Buffer *temp* modified; kill anyway?, and buttons with
Emacs has the same behavior if I restart it, probably because
pinentry remembers the password for the session.
How can I force Emacs or
pinentry to prompt for a new password? And could I force that prompt to happen in a user dialog, which is more noticeable than the mini-buffer?