diff options
author | fpi | 2020-12-20 13:33:00 +0100 |
---|---|---|
committer | fpi | 2022-03-17 14:37:45 +0100 |
commit | 8f8f115ad2b7bf024e670ec656e7f478839d2680 (patch) | |
tree | 45bf7d03feac00f91eaf5c3207086b9b17ff08b7 | |
parent | Add function to toggle org time budgets (diff) |
[WIP] Add basis of s/mime email encryption
-rw-r--r-- | emacs-init.org | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org index b0cb36f..9f82340 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -5266,6 +5266,28 @@ I use =msmtp= to send mail. (add-to-list 'mm-inline-media-tests '("application/x-wine-extension-cir" mm-display-spice-inline identity)) (add-to-list 'mm-inlined-types "application/x-wine-extension-cir")) #+end_src +**** S/MIME +Mail signing and encrypting with S/MIME needs a =gpgsm= setup and =smime.el=. + +One can either use =EasyPG= or =OpenSSL= as external implementations. +#+begin_src emacs-lisp :tangle no +(mml-smime-use 'epg) +#+end_src + +#+begin_src emacs-lisp :tangle no +(mml-default-encrypt-method "smime") +(mml-default-sign-method "smime") +#+end_src + + + +#+begin_src emacs-lisp :tangle no +(use-package smime + :custom + (smime-CA-directory "~/certs/trusted") + (smime-certificate-directory "~/certs") + ) +#+end_src *** MUA/Notmuch After using =mu4e= as my mail user agent for a while I switched to |