Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* mh-e using smime via gpgsm
@ 2007-07-11 18:51 timotheus
  0 siblings, 0 replies; only message in thread
From: timotheus @ 2007-07-11 18:51 UTC (permalink / raw)
  To: mh-e-users; +Cc: info-gnus-english


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


Hi.

Just a note for others who read this list. It took me a very long time
to find a simple solution for integrating real gpgsm support into MH-E,
without writing my own library.

I found that since the GNUs CVS head now supports using easypg for PGP
and SMIME via `gpg' and `gpgsm', so does MH-E with the right
configuration.

EXAMPLE:

;; verify and decrypt
(setq mm-verify-option 'always)
(setq mm-decrypt-option 'always)

;; use EPA/EPG if available
(setq mml-smime-use (cond ((and (locate-library "epa") (locate-library "epg")) 'epg)
                          (t 'openssl)))

(defun timotheus-change-mh-mml-method-default-pgpmime ()
  (interactive)
  (setq mh-mml-method-default "pgpmime"))

(defun timotheus-change-mh-mml-method-default-smime ()
  (interactive)
  (setq mh-mml-method-default "smime"))

(defadvice mh-letter-mode (after timotheus-mh-letter-mode activate)
  "Add some key strokes."
  (local-set-key (kbd "C-c RET 1") 'timotheus-change-mh-mml-method-default-pgpmime)
  (local-set-key (kbd "C-c RET 2") 'timotheus-change-mh-mml-method-default-smime))


Regards,
-timotheus

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 161 bytes --]

_______________________________________________
mh-e-users mailing list
mh-e-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mh-e-users

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-11 18:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-11 18:51 mh-e using smime via gpgsm timotheus

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