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

* Re: signing & encrypting fails
  2008-06-23  9:32 signing & encrypting fails Gour
@ 2008-06-24  2:29 ` Daiki Ueno
  2008-06-24  5:33   ` Gour
  0 siblings, 1 reply; 3+ messages in thread
From: Daiki Ueno @ 2008-06-24  2:29 UTC (permalink / raw)
  To: Gour; +Cc: info-gnus-english

>>>>> In <87skv4cx90.fsf@nitai.hr> 
>>>>>	Gour <gour@mail.inet.hr> wrote:
> If i try to sign & encrypt email the message is signed only and contains

> <#secure method=pgpmime mode=encrypt> 

> instead of being encrypted.

What the actual command did you use?  I guess that you typed: C-c RET
C-s, then, C-c RET C-c.  If so, try C-c RET C-e instead.

Regards,
-- 
Daiki Ueno

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: signing & encrypting fails
  2008-06-24  2:29 ` Daiki Ueno
@ 2008-06-24  5:33   ` Gour
  0 siblings, 0 replies; 3+ messages in thread
From: Gour @ 2008-06-24  5:33 UTC (permalink / raw)
  To: info-gnus-english


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

>>>>> "Daiki" == Daiki Ueno <ueno@unixuser.org> writes:

Daiki> What the actual command did you use?  I guess that you typed: C-c
Daiki> RET C-s, then, C-c RET C-c.  If so, try C-c RET C-e instead.

Thank you. Somehow, I wasn't aware of that command :-( but now I learn
something new :-)

It works perfectly ;)


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