I am building a script that is using
msmtp to send myself regular system reports by email. I have used
gpg to encrypt my email password and used
I sent a test email successfully but during the process,
gpg asked me for the passphrase I used to create keys when I
Given that the script will be running unattended, I need to cache the passphrase using
gpg-preset-passphrase. However when I run
/usr/lib/gnupg2/gpg-preset-passphrase --preset <keygrip> where keygrip is obtained using
gpg --list-keys --with-keygrip, I get the error message:
gpg-preset-passphrase: caching passphrase failed: Not supported.
For reference, I am using
gpg 2.2.12 on a Raspberry Pi 2 Model B running Raspbian Buster.