[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
signing & encrypting fails
From: |
Gour |
Subject: |
signing & encrypting fails |
Date: |
Mon, 23 Jun 2008 11:32:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
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@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
----------------------------------------------------------------
pgpAAeLgVjEsM.pgp
Description: PGP signature
- signing & encrypting fails,
Gour <=