Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* signing & encrypting fails
@ 2008-06-23  9:32 Gour
  2008-06-24  2:29 ` Daiki Ueno
  0 siblings, 1 reply; 3+ messages in thread
From: Gour @ 2008-06-23  9:32 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1244 bytes --]

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
----------------------------------------------------------------

[-- 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-06-24  5:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-23  9:32 signing & encrypting fails Gour
2008-06-24  2:29 ` Daiki Ueno
2008-06-24  5:33   ` 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).