]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Automatic signing of emails and friends
authorMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 28 Nov 2016 16:56:12 +0000 (16:56 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 28 Nov 2016 16:56:12 +0000 (16:56 +0000)
emacs/.emacs

index 7be520645d73dd2303e9708d081d37e967ec66a9..a9e7eab1159ef143015d3f4050d67a77c34ffcc4 100644 (file)
                  "maildir:/personal-gmail/Inbox OR "
                  "maildir:/aber/Inbox "
                  ")") "Unread Interesting Messages" ?i)
-              ))
+              )
+  (setq mu4e-view-show-images t)
+  (setq mu4e-compose-crypto-reply-policy 'sign-and-encrypt)
+  (setq mml-secure-openpgp-sign-with-sender t)
+  (setq mml-default-encrypt-method "pgpmime")
+  (add-hook 'mu4e-compose-mode-hook 'mml-secure-message-sign)
+  )
 
 (use-package mu4e-alert
   :ensure t
   (mu4e-alert-set-default-style 'libnotify)
   (add-hook 'after-init-hook #'mu4e-alert-enable-notifications))
 
+(use-package jl-encrypt)
+
 (use-package smart-mode-line
   :ensure t
   :config