On Mon, 01 Jun 2009 11:06:27 GMT Teemu Likonen <[email protected]> wrote: 

TL> On 2009-06-01 10:23 (UTC), Teemu Likonen wrote:
>> When I send an encrypted message (C-c C-c in the message buffer) the
>> minibuffer shows:
>> 
>> Encrypt failed: exit

>> Does anybody have an idea how to fix or debug this?

TL> Ok, I found the answer from " *epg-debug*" buffer:

TL>     gpg: [stdin]: encryption failed: unusable public key

TL> I was sending mail to myself and I have two different public keys for
TL> myself in my keyring. One of them is disabled. Gnus/Epg/Pgg/whatever
TL> picked the disabled one but GPG failed to encrypt for that key. I can
TL> solve the problem by enabling the key or removing the disabled key from
TL> the keyring.

Should this error propagate up to the user better?  Hunting down the
invisible " *epg-debug*" buffer is not obvious.

Ted
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to