* easypg & posting-style
@ 2008-02-26 8:23 Gour
[not found] ` <87hcfuak3s.fsf@broken.deisui.org>
0 siblings, 1 reply; 3+ messages in thread
From: Gour @ 2008-02-26 8:23 UTC (permalink / raw)
To: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 1328 bytes --]
Hi!
I migrated to Gnus recently and almost completed my setup - using nnimap
back-end with local imap server, archiving of sent-mail on imap works,
mairix, posting-styles, multi-smtp...everything except one thing - I
cannot make Gnus use different key for signing based on my From: header,
i.e. by using posting styles.
The mechanism in Gnus - C-c RET C-s is OK, but I cannot find solution
how to use 'pgg-gpg-user-id' in posting-style:
Found one post in archives
(http://article.gmane.org/gmane.emacs.gnus.user/9412) but unfortunately
without the details. Even tried to contact the author, but no reply :-(
otoh, on #gnus, I learnt about easypg as possible replacement for pgg. I
can select signing key, but still no idea how to make it becoming
selected automatically by using posting-styles?
Having several email accounts and accompanying keys for
signing/encryption is such a common scenario nowadays and I wonder that
there is no clear documentation in Gnus how to do it (although I found
quite some posts from people try to do the same) nor there is field in
posting-style for cryptographic purposes.
Any clue how to resolve my remaining Gnus issue?
Sincerely,
Gour
--
Gour | Zagreb, Croatia | GPG key: C6E7162D
----------------------------------------------------------------
[-- Attachment #1.2: Type: application/pgp-signature, Size: 196 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: easypg & posting-style
[not found] ` <87oda1qztq.fsf@gaura-nitai.dyndns.org>
@ 2008-02-28 8:29 ` Daiki Ueno
[not found] ` <mailman.8023.1204187399.18990.info-gnus-english@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Daiki Ueno @ 2008-02-28 8:29 UTC (permalink / raw)
To: Gour; +Cc: info-gnus-english
(Cc'ed to info-gnus-english@gnu.org which I missed the previous post)
>>>>> In <87oda1qztq.fsf@gaura-nitai.dyndns.org>
>>>>> Gour <gour@mail.inet.hr> wrote:
> >>>>> "Daiki" == Daiki Ueno <ueno@unixuser.org> writes:
Daiki> Have a look at this post:
Daiki> http://article.gmane.org/gmane.emacs.gnus.user/8506 (it doesn't
Daiki> use posting-styles, though)
> I looked at that post and found a similar one -
> http://tinyurl.com/2qrefj
> but it does not work.
> If I try to put more than 2 email & IDs into alist, gnus complains after
> the start, but if I have just eg. one, then it does not complain, but I
> get easypg's menu asking for appropriate key :-(
I cannot reproduce your problem.
EasyPG's menu should never appear unless you set mml-secure-verbose or
mml2015-verbose (both are turned off by default). Can you send me your
complete setup?
I just tried with the following code, and I sent to me from each sender
address. Each message were signed by each appropriate key.
(setq user-id-to-key-id-alist
'(("ueno@deisui.org" "9493A7B8")
("ueno@unixuser.org" "E7485C51")
("daiki.ueno@gmail.com" "910900DA")))
(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))))))
> Here is eg. list of emails with keyIDs:
> ;; "jagoda@atmarama.org" "09BEE824"
> ;; "sjaniska@mail.inet.hr" "175B523D"
> ;; "gour@mail.inet.hr" "C6E7162D"
> ;; "gour@atmarama.org" "D19DB797"
> How should the complete setup look like?
(setq user-id-to-key-id-alist
'(("jagoda@atmarama.org" "09BEE824")
("sjaniska@mail.inet.hr" "175B523D")
("gour@mail.inet.hr" "C6E7162D")
("gour@atmarama.org" "D19DB797")))
> I assume the setup is supposed to work with Gnus & easypg, right?
Yes.
> It would be nice if some appropriate wiki page would be available
> somewhere...
I'm thinking that this feature should be included in Gnus, by default.
Regards,
--
Daiki Ueno
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: easypg & posting-style
[not found] ` <mailman.8023.1204187399.18990.info-gnus-english@gnu.org>
@ 2008-02-28 8:51 ` Gour
0 siblings, 0 replies; 3+ messages in thread
From: Gour @ 2008-02-28 8:51 UTC (permalink / raw)
To: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 959 bytes --]
>>>>> "Daiki" == Daiki Ueno <ueno@unixuser.org> writes:
Hello Daiki!
Daiki> EasyPG's menu should never appear unless you set
Daiki> mml-secure-verbose or mml2015-verbose (both are turned off by
Daiki> default). Can you send me your complete setup?
It looks the problem was that I enabled mml2015-verbose :-(
Now it works!
although I'm still not sure what was the problem with my alist :-/
>> I assume the setup is supposed to work with Gnus & easypg, right?
Daiki> Yes.
Thanks. Now everything is as it is supposed to be :-D
Daiki> I'm thinking that this feature should be included in Gnus, by
Daiki> default.
I'm of the same opinion, if it matters.
This is such a basic functionality, that it's a shame it's not already
there.
Thanks a lot for both easypg and your help :-D
Sincerely,
Gour
--
Gour | Zagreb, Croatia | GPG key: C6E7162D
----------------------------------------------------------------
[-- Attachment #1.2: Type: application/pgp-signature, Size: 196 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-28 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-26 8:23 easypg & posting-style Gour
[not found] ` <87hcfuak3s.fsf@broken.deisui.org>
[not found] ` <87oda1qztq.fsf@gaura-nitai.dyndns.org>
2008-02-28 8:29 ` Daiki Ueno
[not found] ` <mailman.8023.1204187399.18990.info-gnus-english@gnu.org>
2008-02-28 8:51 ` Gour
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).