I am trying to encrypt a file locally and I get an error.
firstname.lastname@example.org is a placeholder for my email address, a public key exists for that in my keyring and also on key servers. My private key is located on a hardware key (Yubikey). I can decrypt previously encrypted files with no problem. Here is the error:
➜ ~ gpg -e -r email@example.com somefile.txt gpg: error retrieving 'firstname.lastname@example.org' via WKD: General error gpg: email@example.com: skipped: General error gpg: somefile.txt encryption failed: General error
What does this error mean and how can I solve it?
P.S. There is only one more thing that might be related. My public key is expired.