From: momo <post@bjoernb.org>
Date: Sat, 21 Nov 2020 10:31:02 +0000 (+0100)
Subject: Set mml-secure-openpgp-sign-with-sender to sign messages
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=c017e0d9de057485d917c0dac8c21963ed89f604;p=notmuch-wiki

Set mml-secure-openpgp-sign-with-sender to sign messages

mml-secure-openpgp-sign-with-sender has to be set to t in the
configuration to continue signing messages since Emacs 27.1:

- https://notmuchmail.org/news/release-0.31/
---

diff --git a/emacstips.mdwn b/emacstips.mdwn
index 79df754..7baa679 100644
--- a/emacstips.mdwn
+++ b/emacstips.mdwn
@@ -464,6 +464,7 @@ These functions are available via the standard `message-mode` keybindings
 
         ;; Sign messages by default.
         (add-hook 'message-setup-hook 'mml-secure-sign-pgpmime)
+        (setq mml-secure-openpgp-sign-with-sender t)
 
 This inserts the required `<#part sign=pgpmime>` into the beginning
 of the mail text body and will be converted into a pgp signature