Topic: Automatic private key selection not working, error on manual

I have two private keys, one for my personal email addresses and another for my day job address. There's no overlap on which addresses the keys cover.

I've had the personal key set as default for a long time now but only just realized that all mail, even that from the day job address, is being signed with the personal key.

Now, if I set the default key to "always ask", the dialog pops up when I try to send a message asking which key I want to use. Interestingly, the correct key is always highlighted -- the personal one if I'm using my personal email addresses and the day job one if the from address is set to my day job address. I click OK and type the passphrase but then get this error:

Signing failed because of an unknown error. Make sure a default private key has been set in the preferences.
gpg: no default secret key: secret key not available
gpg: [stdin]: clearsign failed: secret key not available

A default private key would be just fine if it didn't then sign /all/ mail with that key, as described above. Something's going wrong here.

Thanks

Re: Automatic private key selection not working, error on manual

1) http://bugs.getfiregpg.org to report bugs
2) If you deselect and reselect your private key, does it work ?

Re: Automatic private key selection not working, error on manual

1) I'll file it there.
2) Yes. Sounds like it should be an easy fix, then.

Re: Automatic private key selection not working, error on manual

Posted on Flyspray at FS#295