Your message dated Wed, 08 Feb 2006 11:23:04 -0600
with message-id <[EMAIL PROTECTED]>
and subject line Bug#347638: Not clear how to configure Gnus to use PGP
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gnus
Version: 5.10.6-1.NO.20051213-1

Hi,

The Gnus documentation is misleading.  Reading it, I had assumed that
in order to use PGP to verify messages in Gnus, it would be enough to
tweak the value of mm-verify-option.  In fact, the right incantation
turns out to be

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

The last variable is essential in order to be able to see anything.

                                        Juliusz Chroboczek

Attachment: pgpgFbAVezb08.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
On 11 Jan 2006, Juliusz Chroboczek spake thusly:

> Package: gnus
> Version: 5.10.6-1.NO.20051213-1
>
> Hi,
>
> The Gnus documentation is misleading.  Reading it, I had assumed
> that in order to use PGP to verify messages in Gnus, it would be
> enough to tweak the value of mm-verify-option.  In fact, the right
> incantation turns out to be
>
> (setq mm-verify-option 'always mm-decrypt-option 'always
> gnus-buttonized-mime-types '("multipart/encrypted"
> "multipart/signed"))
>

        That is one way to do it. You can also do:
,----
|  ;;; Hide pgp cruft if any.
|  
|  (setq gnus-treat-strip-pgp t)
|  
|  ;;; After hiding pgp, verify the message;
|  ;;; only happens if pgp signature is found.
|  
|  (add-hook 'gnus-article-hide-pgp-hook
|            (lambda ()
|              (save-excursion
|                (set-buffer gnus-original-article-buffer)
|                (mc-verify))))
`----
 Here's a handler that scans for PGP headers every hour when Emacs is
 idle: (gnus-demon-scan-pgp 60 t)

        Anyway, you evidently did not see the node security below,
 everything you said is expicitly documented there.

        manoj

3.30 Security
=============

Gnus is able to verify signed messages or decrypt encrypted messages.
The formats that are supported are PGP, PGP/MIME and S/MIME, however
you need some external programs to get things to work:

  1. To handle PGP and PGP/MIME messages, you have to install an
     OpenPGP implementation such as GnuPG.  The Lisp interface to GnuPG
     included with Gnus is called PGG (*note PGG: (pgg)Top.), but
     Mailcrypt and gpg.el are also supported.

  2. To handle S/MIME message, you need to install OpenSSL.  OpenSSL
     0.9.6 or newer is recommended.


   More information on how to set things up can be found in the message
manual (*note Security: (message)Security.).

`mm-verify-option'
     Option of verifying signed parts.  `never', not verify; `always',
     always verify; `known', only verify known protocols.  Otherwise,
     ask user.

`mm-decrypt-option'
     Option of decrypting encrypted parts.  `never', no decryption;
     `always', always decrypt; `known', only decrypt known protocols.
     Otherwise, ask user.

`mml1991-use'
     Symbol indicating elisp interface to OpenPGP implementation for
     PGP messages.  The default is `pgg', but `mailcrypt' and `gpg' are
     also supported although deprecated.

`mml2015-use'
     Symbol indicating elisp interface to OpenPGP implementation for
     PGP/MIME messages.  The default is `pgg', but `mailcrypt' and
     `gpg' are also supported although deprecated.

   Snarfing OpenPGP keys (i.e., importing keys from articles into your
key ring) is not supported explicitly through a menu item or command,
rather Gnus do detect and label keys as `application/pgp-keys',
allowing you to specify whatever action you think is appropriate
through the usual MIME infrastructure.  You can use a `~/.mailcap'
entry (*note mailcap: (emacs-mime)mailcap.) such as the following to
import keys using GNU Privacy Guard when you click on the MIME button
(*note Using MIME::).

     application/pgp-keys; gpg --import --interactive --verbose; needsterminal
   This happens to also be the default action defined in
`mailcap-mime-data'.

-- 
Steele's Law: There exist tasks which cannot be done by more than ten
men or fewer than one hundred.
Manoj Srivastava   <[EMAIL PROTECTED]>  <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

--- End Message ---

Reply via email to