Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: info-gnus-english@gnu.org
Subject: Re: EasyPG for signing and en/decrypting Email
Date: Tue, 07 Apr 2009 06:22:17 +0200	[thread overview]
Message-ID: <grekdr$uck$1@news.motzarella.org> (raw)
In-Reply-To: <87ws9xyvau.fsf@kobe.laptop>

Giorgos Keramidas <keramida@ceid.upatras.gr> writes:

> On Sun, 05 Apr 2009 13:43:14 +0200, Suno Ano <suno.ano@sunoano.org> wrote:
>> Below is my current setup
>>
>>  1  (require 'epa)
>>  2
>>  3  (setq mml2015-use 'epg)
>>  4  (setq mml2015-encrypt-to-self t)
>>  5  (setq mml2015-verbose t)
>>  6  (setq mml2015-always-trust nil)
>>  7  (setq mml2015-passphrase-cache-expiry '7200)
>>  8
>>  9  (add-hook 'message-setup-hook
>> 10            (lambda ()
>> 11              (if gnus-newsgroup-name
>> 12                  (let ((signers (gnus-group-get-parameter
>> 13                                  gnus-newsgroup-name
>> 14                                  'mml2015-signers
>> 15                                  t)))
>> 16                    (if signers
>> 17                        (set (make-local-variable 'mml2015-signers)
>> 18                             signers))))))
>> 19
>> 20
>> 21  (setq gnus-message-replysign t
>> 22        gnus-message-replyencrypt t
>> 23        gnus-message-replysignencrypted t
>> 24        gnus-treat-x-pgp-sig t
>> 25        mm-verify-option 'always
>> 26        mm-decrypt-option 'always
>> 27  )
>> 28
>> 29  (setq gnus-buttonized-mime-types
>> 30        '("multipart/alternative"
>> 31          "multipart/encrypted"
>> 32          "multipart/signed"))
>> 33
>> 34  (setq mm-coding-system-priorities
>> 35        '(iso-latin-1 iso-latin-9 mule-utf-8))
>
> Thanks for posting this!
>
> Apparently, this requires setting a list of mml2015-signers as a group
> property.  Is there any way to avoid the prompt for selecting a key when
> this property does not exist in the current group, or to use a default
> value?

Look for mml2015-verbose

It might be what you need.

  reply	other threads:[~2009-04-07  4:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4645.1238931851.31690.info-gnus-english@gnu.org>
2009-04-07  3:52 ` Giorgos Keramidas
2009-04-07  4:22   ` Richard Riley [this message]
2009-04-07  5:33     ` Giorgos Keramidas
2009-04-05 11:43 Suno Ano
2009-04-05 13:10 ` Daiki Ueno
2009-04-05 15:51   ` Suno Ano
2009-04-05 18:05   ` Reiner Steib
2009-04-05 19:03     ` Daiki Ueno
2009-04-05 22:00       ` Daiki Ueno
     [not found]     ` <mailman.4670.1238958248.31690.info-gnus-english@gnu.org>
2009-04-06 12:33       ` Richard Riley
     [not found] ` <mailman.4648.1238937070.31690.info-gnus-english@gnu.org>
2009-04-05 13:19   ` Richard Riley
2009-04-05 14:03     ` Daiki Ueno
     [not found]     ` <mailman.4649.1238940230.31690.info-gnus-english@gnu.org>
2009-04-05 14:53       ` Richard Riley
2009-04-07  2:06 ` Daiki Ueno
2009-04-07 10:13   ` Suno Ano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='grekdr$uck$1@news.motzarella.org' \
    --to=rileyrgdev@googlemail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).