Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* GPG encryption fails with Gnus 5.13
@ 2009-06-01 10:23 Teemu Likonen
  2009-06-01 11:06 ` Teemu Likonen
  0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2009-06-01 10:23 UTC (permalink / raw)
  To: info-gnus-english

I just switched from Emacs 22.2 to Emacs 23.0 and -- if I remember
correctly -- from Gnus 5.11 to 5.13. Unfortunately message encryption
does not work anymore, signing still does.

When I send an encrypted message (C-c C-c in the message buffer) the
minibuffer shows:

    Encrypt failed: exit

The *Messages* buffer shows the same but that's all.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GPG encryption fails with Gnus 5.13
  2009-06-01 10:23 GPG encryption fails with Gnus 5.13 Teemu Likonen
@ 2009-06-01 11:06 ` Teemu Likonen
  2009-07-08 14:30   ` Ted Zlatanov
  0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2009-06-01 11:06 UTC (permalink / raw)
  To: info-gnus-english

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?

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

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GPG encryption fails with Gnus 5.13
  2009-06-01 11:06 ` Teemu Likonen
@ 2009-07-08 14:30   ` Ted Zlatanov
  0 siblings, 0 replies; 3+ messages in thread
From: Ted Zlatanov @ 2009-07-08 14:30 UTC (permalink / raw)
  To: info-gnus-english

On Mon, 01 Jun 2009 11:06:27 GMT Teemu Likonen <tlikonen@iki.fi> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-08 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-01 10:23 GPG encryption fails with Gnus 5.13 Teemu Likonen
2009-06-01 11:06 ` Teemu Likonen
2009-07-08 14:30   ` Ted Zlatanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).