23 Jun 11:29
signing & encrypting fails
From: Gour <gour <at> mail.inet.hr>
Subject: signing & encrypting fails
Newsgroups: gmane.emacs.gnus.user
Date: 2008-06-23 09:32:27 GMT
Subject: signing & encrypting fails
Newsgroups: gmane.emacs.gnus.user
Date: 2008-06-23 09:32:27 GMT
Hi!
If i try to sign & encrypt email the message is signed only and contains
<#secure method=pgpmime mode=encrypt>
instead of being encrypted.
However, just signing or encrypting works.
Here is my setup:
;; GnuPG setup
;; Here we make button for the multipart
(setq gnus-buttonized-mime-types
'("multipart/encrypted" "multipart/signed"))
;; verify/decrypt only if mml knows about the protocl used
(setq mm-verify-option 'known)
(setq mm-decrypt-option 'known)
;; use newer epg
(setq mml2015-use 'epg)
(setq mml2015-encrypt-to-self t)
(setq user-id-to-key-id-alist
'(("gour <at> mail.inet.hr" "C6E7162D")
...
))
(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))))))
;; end of Gnupg setup
Running GNU Emacs 23.0.60.4 with Gnus 5.13.
Any hint?
--
--
Gour | Zagreb, Croatia | GPG key: C6E7162D
----------------------------------------------------------------
_______________________________________________ info-gnus-english mailing list info-gnus-english <at> gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english
RSS Feed