From c017e0d9de057485d917c0dac8c21963ed89f604 Mon Sep 17 00:00:00 2001
From: momo <post@bjoernb.org>
Date: Sat, 21 Nov 2020 11:31:02 +0100
Subject: [PATCH] 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/
---
 emacstips.mdwn | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.45.2