On Fri, 2016-05-20 at 17:07 +0100, Patrick O'Callaghan wrote:
I'm having a problem in Evolution (3.18.5.2) but suspect that it's really something in my GPG setup. When I try to sign and encrypt a message, I get:
Could not create message.
Because "gpg: skipped "XXXXXXXX": No secret key gpg: signing failed: No secret key ", you may need to select different mail options.
I have used GPG in the past with the same key (also from Evolution) without any problem. Both my own and the destination address are in my keyring.
When I try to use Seahorse to sign a key, it tells me I have no secret key to do this with, which looks like the same error.
So what does "no secret key" mean? All keys in the keyring were generated by GPG as public/private pairs, so I don't understand what's going on.
After endless faffing around with no progress, I decided to try sending the email with Thunderbird, and discovered what the root problem was. I hadn't mentioned before (didn't seem relevant) that this was a message to two recipients. It turns out that I only have the public key of one of them in my keyring. IOW the error message from Evolution was completely misleading. When I restricted the message to the person whose key I do have, I was asked for the passphrase and everything worked.
I'll report this as a bug.
poc