From: Daiki Ueno <ueno@unixuser.org>
Subject: Re: A few questions on signing/encrypting emails
Date: Thu, 11 Jan 2007 12:53:47 +0900 [thread overview]
Message-ID: <01e43c01-bee8-471d-9579-043f1692bbd5@well-done.deisui.org> (raw)
In-Reply-To: <m2ac0qpa1s.fsf@sl392.st-edmunds.cam.ac.uk> (Leo's message of "Thu, 11 Jan 2007 02:33:03 +0000")
>>>>> In <m2ac0qpa1s.fsf@sl392.st-edmunds.cam.ac.uk>
>>>>> Leo <sdl.web@gmail.com> wrote:
> >> When I set mml2015-signers, I was prompted for passphrase for each id
> >> in the list. It looks like the email is being signed by all keys. Is
> >> this supposed to happen? Can I choose which key to use?
> Thank you. As I set mml2015-verbose to true, all keys will be selected
> (marked) by default. How can I make only keys that matches the 'From'
> header be selected by default?
Can you show me the actual settings of mml2015-signers? My guess is
that, you have multiple keys with the same user-id which is in
mml2015-signers? In that case, you need to set key-id's instead of the
user-id.
(setq user-id-to-key-id-alist
'(("sdl.web@gmail.com" "9283AA3F")))
(add-hook 'message-send-hook
(lambda ()
(let ((entry (assoc (cadr (mail-extract-address-components
(message-field-value "from")))
user-id-to-key-id-alist)))
(if entry
(setq mml2015-signers (cdr entry))))))
--
Daiki Ueno
next prev parent reply other threads:[~2007-01-11 3:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-12 16:27 Leo
2007-01-05 6:01 ` Daiki Ueno
2007-01-05 6:08 ` Leo
2007-01-10 17:33 ` Leo
2007-01-11 1:01 ` Daiki Ueno
2007-01-11 2:33 ` Leo
2007-01-11 3:53 ` Daiki Ueno [this message]
2007-01-11 9:15 ` Leo
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=01e43c01-bee8-471d-9579-043f1692bbd5@well-done.deisui.org \
--to=ueno@unixuser.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).