Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* verifying gpg signature
@ 2010-03-13 16:59 Stephen Leake
  2010-03-14  7:57 ` Stephen Leake
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Leake @ 2010-03-13 16:59 UTC (permalink / raw)
  To: info-gnus-english

I'm just getting starting using gpg with email. I can sign outgoing
messages (with mml-secure-sign), but I don't see how to verify the
sigatures of incoming messages.

The Gnus manual is silent on this; it talks about verifying regions,
but I don't see how to apply that to a mail message. I tried 'apropos
verify', and didn't see anything helpful.

There must be a simple keystroke that verifies a signature attached to
a mail message.

-- 
-- Stephe

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

* Re: verifying gpg signature
  2010-03-13 16:59 verifying gpg signature Stephen Leake
@ 2010-03-14  7:57 ` Stephen Leake
  2010-03-14 10:06   ` Adam Sjøgren
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Leake @ 2010-03-14  7:57 UTC (permalink / raw)
  To: info-gnus-english

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> I'm just getting starting using gpg with email. I can sign outgoing
> messages (with mml-secure-sign), but I don't see how to verify the
> sigatures of incoming messages.
>
> The Gnus manual is silent on this; it talks about verifying regions,
> but I don't see how to apply that to a mail message. I tried 'apropos
> verify', and didn't see anything helpful.
>
> There must be a simple keystroke that verifies a signature attached to
> a mail message.

More info:

The signature is shown as:

[2. Digital signature --- application/pgp-signature; signature.asc]...

I can hit <return> on that part, and it does nothing. Tracing that
with the elisp debugger, apparently I'm supposed to add
that mime type to gnus-article-treat-types, and then a handler to
gnus-treatment-function-alist?

The function mml2015-verify seems to be what I need to call; how to I
tell Gnus to call it?

-- 
-- Stephe

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

* Re: verifying gpg signature
  2010-03-14  7:57 ` Stephen Leake
@ 2010-03-14 10:06   ` Adam Sjøgren
  2010-04-04 13:21     ` Stephen Leake
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Sjøgren @ 2010-03-14 10:06 UTC (permalink / raw)
  To: info-gnus-english

On Sun, 14 Mar 2010 03:57:48 -0400, Stephen wrote:

> I can hit <return> on that part, and it does nothing. Tracing that
> with the elisp debugger, apparently I'm supposed to add
> that mime type to gnus-article-treat-types, and then a handler to
> gnus-treatment-function-alist?

> The function mml2015-verify seems to be what I need to call; how to I
> tell Gnus to call it?

All I have in my .gnus these days concerning GPG is this:

  (setq mm-verify-option 'known
        mm-decrypt-option 'known)
  (setq gnus-buttonized-mime-types '("multipart/signed" "multipart/encrypted"))

And I get automatic checking of signatures, decryption etc.

What version of Gnus are you running? (I'm running the development
version, so your milage may vary).


  Best regards,

    Adam

-- 
 "riverrun, past Eve and Adam's, from swerve of shore         Adam Sjøgren
  to bend of bay, brings us by a commodius vicus of      asjo@koldfront.dk
  recirculation back to Howth Castle and Environs."

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

* Re: verifying gpg signature
  2010-03-14 10:06   ` Adam Sjøgren
@ 2010-04-04 13:21     ` Stephen Leake
  2010-04-05  1:40       ` Stephen Leake
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Leake @ 2010-04-04 13:21 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Sun, 14 Mar 2010 03:57:48 -0400, Stephen wrote:
>
>> I can hit <return> on that part, and it does nothing. Tracing that
>> with the elisp debugger, apparently I'm supposed to add
>> that mime type to gnus-article-treat-types, and then a handler to
>> gnus-treatment-function-alist?
>
>> The function mml2015-verify seems to be what I need to call; how to I
>> tell Gnus to call it?
>
> All I have in my .gnus these days concerning GPG is this:
>
>   (setq mm-verify-option 'known
>         mm-decrypt-option 'known)
>   (setq gnus-buttonized-mime-types '("multipart/signed" "multipart/encrypted"))
>

I had already set mm-verify-option and mm-decrypt-option.

> What version of Gnus are you running?

Well, it seems I was running Emacs 22.2 (blush). But now I'm running
Emacs 23.1. When I open an email with a signature attachment, that mime
part is no longer shown (it was with Emacs 23.1), and nothing else
happens.

Setting gnus-buttonized-mime-types displays the status in the button
headers, which is not what I'd expect from a button, but works for me.

--
-- Stephe

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

* Re: verifying gpg signature
  2010-04-04 13:21     ` Stephen Leake
@ 2010-04-05  1:40       ` Stephen Leake
  2010-04-05 13:57         ` Adam Sjøgren
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Leake @ 2010-04-05  1:40 UTC (permalink / raw)
  To: info-gnus-english

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> asjo@koldfront.dk (Adam Sjøgren) writes:
>
>> On Sun, 14 Mar 2010 03:57:48 -0400, Stephen wrote:
>>
>>> I can hit <return> on that part, and it does nothing. Tracing that
>>> with the elisp debugger, apparently I'm supposed to add
>>> that mime type to gnus-article-treat-types, and then a handler to
>>> gnus-treatment-function-alist?
>>
>>> The function mml2015-verify seems to be what I need to call; how to I
>>> tell Gnus to call it?
>>
>> All I have in my .gnus these days concerning GPG is this:
>>
>>   (setq mm-verify-option 'known
>>         mm-decrypt-option 'known)
>>   (setq gnus-buttonized-mime-types '("multipart/signed" "multipart/encrypted"))
>>
>
> I had already set mm-verify-option and mm-decrypt-option.
>
>> What version of Gnus are you running?
>
> Well, it seems I was running Emacs 22.2 (blush). But now I'm running
> Emacs 23.1. When I open an email with a signature attachment, that mime
> part is no longer shown (it was with Emacs 23.1), and nothing else
> happens.
>
> Setting gnus-buttonized-mime-types displays the status in the button
> headers, which is not what I'd expect from a button, but works for me.

Although it would be nice if the button action was "fetch the key if it
is unknown".

-- 
-- Stephe

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

* Re: verifying gpg signature
  2010-04-05  1:40       ` Stephen Leake
@ 2010-04-05 13:57         ` Adam Sjøgren
  2010-04-06  8:00           ` Stephen Leake
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Sjøgren @ 2010-04-05 13:57 UTC (permalink / raw)
  To: info-gnus-english

On Sun, 04 Apr 2010 21:40:53 -0400, Stephen wrote:

> Although it would be nice if the button action was "fetch the key if it
> is unknown".

GnuPG does this for me when I set this option:

,----[ ~/.gnupg/gpg.conf excerpt ]
| 
| keyserver-options auto-key-retrieve
| 
`----


  Best regards,

    Adam

-- 
 "But they are all following you!                             Adam Sjøgren
  No, they ain't, I'm just in front"                     asjo@koldfront.dk

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

* Re: verifying gpg signature
  2010-04-05 13:57         ` Adam Sjøgren
@ 2010-04-06  8:00           ` Stephen Leake
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Leake @ 2010-04-06  8:00 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Sun, 04 Apr 2010 21:40:53 -0400, Stephen wrote:
>
>> Although it would be nice if the button action was "fetch the key if it
>> is unknown".
>
> GnuPG does this for me when I set this option:
>
> ,----[ ~/.gnupg/gpg.conf excerpt ]
> | 
> | keyserver-options auto-key-retrieve
> | 
> `----

Excellent!

-- 
-- Stephe

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

end of thread, other threads:[~2010-04-06  8:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-13 16:59 verifying gpg signature Stephen Leake
2010-03-14  7:57 ` Stephen Leake
2010-03-14 10:06   ` Adam Sjøgren
2010-04-04 13:21     ` Stephen Leake
2010-04-05  1:40       ` Stephen Leake
2010-04-05 13:57         ` Adam Sjøgren
2010-04-06  8:00           ` Stephen Leake

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).