From: Leo <sdl.web@gmail.com>
Cc: Daiki Ueno <ueno@unixuser.org>
Subject: Re: A few questions on signing/encrypting emails
Date: Thu, 11 Jan 2007 09:15:27 +0000 [thread overview]
Message-ID: <m2bql5kjps.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: <01e43c01-bee8-471d-9579-043f1692bbd5@well-done.deisui.org>
* Daiki Ueno (2007-01-11 12:53 +0900) said:
>>>>>> 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.
I have two keys with two different uids. I set mml2015-signers to
("sdl.web@gmail.com" "sdl.work@gmail.com").
>
> (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))))))
Nice.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
prev parent reply other threads:[~2007-01-11 9:15 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
2007-01-11 9:15 ` Leo [this message]
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=m2bql5kjps.fsf@sl392.st-edmunds.cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=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).