Re: Bug#812003: emacs24-el: message-mode repeats non-deterministic cryptographic...
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 20 Jan 2016 04:51:38 +0000 (23:51 +1900)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:20:54 +0000 (16:20 -0700)
a3/d33d21da1d09a55d86ef7c39851141cd3dd469 [new file with mode: 0644]

diff --git a/a3/d33d21da1d09a55d86ef7c39851141cd3dd469 b/a3/d33d21da1d09a55d86ef7c39851141cd3dd469
new file mode 100644 (file)
index 0000000..91a8549
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <dkg@fifthhorseman.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 3F1566DE1B80\r
+ for <notmuch@notmuchmail.org>; Tue, 19 Jan 2016 20:51:46 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.014\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.014 tagged_above=-999 required=5\r
+ tests=[AWL=-0.014] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id D9yMHz7P6pK8 for <notmuch@notmuchmail.org>;\r
+ Tue, 19 Jan 2016 20:51:43 -0800 (PST)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 9F5BD6DE1B7B\r
+ for <notmuch@notmuchmail.org>; Tue, 19 Jan 2016 20:51:43 -0800 (PST)\r
+Received: from fifthhorseman.net (unknown [38.109.115.130])\r
+ by che.mayfirst.org (Postfix) with ESMTPSA id 8EA19F984;\r
+ Tue, 19 Jan 2016 23:51:42 -0500 (EST)\r
+Received: by fifthhorseman.net (Postfix, from userid 1000)\r
+ id 4026B1FD86; Tue, 19 Jan 2016 20:51:42 -0800 (PST)\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+To: 812003@bugs.debian.org, notmuch@notmuchmail.org\r
+Subject: Re: Bug#812003: emacs24-el: message-mode repeats non-deterministic\r
+ cryptographic operations in Fcc when sending\r
+In-Reply-To:\r
+ <145326398125.10035.1518237584117602298.reportbug@alice.fifthhorseman.net>\r
+References:\r
+ <145326398125.10035.1518237584117602298.reportbug@alice.fifthhorseman.net>\r
+User-Agent: Notmuch/0.21+68~g28d25e7 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 19 Jan 2016 23:51:38 -0500\r
+Message-ID: <878u3k7t0l.fsf@alice.fifthhorseman.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha512; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 20 Jan 2016 04:51:46 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+Over in https://bugs.debian.org/812003\r
+On Tue 2016-01-19 23:26:21 -0500, Daniel Kahn Gillmor wrote:\r
+> When composing a message with an Fcc: line in emacs message-mode, if\r
+> the message has any cryptographic operations set on it\r
+> (e.g. mml-secure-message-sign-pgpmime, or\r
+> mml-secure-message-encrypt-pgpmime), then those operations are done\r
+> distinctly for the message sent via the mail system and the message\r
+> stored in Fcc.\r
+\r
+For users of notmuch-emacs, they may prefer to avoid Fcc: and instead\r
+use somthing like the following:\r
+\r
+ (defun notmuch-fcc-buffer ()\r
+  (shell-command-on-region (point-min) (point-max) "notmuch insert"))\r
+\r
+and then set message-send-mail-hook to refer to notmuch-fcc-buffer.\r
+then probably you'll also want to set notmuch-fcc-dirs to nil.\r
+\r
+Alternately, notmuch-emacs might want to use something like this and\r
+route around the entire message-do-fcc function in message.el if\r
+message.el does not address the problem.\r
+\r
+        --dkg\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQJ8BAEBCgBmBQJWnxJaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy\r
+NEVDRkY1QUZGNjgzNzBBAAoJECTs/1r/aDcK4RMP/i755LHrN8NMK9Luo6m1qPcn\r
+HGHC9GehYd4uCl7YZ58R27Lmuj1RsngCFIo8i0JMYUCX5TTNHfoXvC82Sew49uG9\r
+I3iCKRvserx6GRYs286vpwtl6s+KF/yXuXay0fZnmxkyW6UmdIAzSDMALrgIrb7w\r
+2ibn9v7xQH+FnRTEuqnb5xUXL23/5ZsLAKL4w05ZLo7fV/yj0ZqB+wp8LdFl4h8/\r
+gbhexZl6ZnTAPNiGAKuDc7xzRR2hAWmL+LXqOrgS4TDioKvqbdZ1qiI1u3KKCg12\r
+WzgKBtYSyV6kGlgm9BNdDgSbjwsgo7It/yMQDPBCkV5FSsD/WZrWTebxCf7t0JfS\r
+U1T5mkWznAA058IlchMDFnRCNJurfPF0X3zjye0yFBELcPMYtSwK6tJfMmYswASd\r
+l5mGCwa64BSj44+JH3StLr86JoVfiWr2wRRX3fhn5aHz9HGiH6cOtpwu+GJ4N548\r
+ac7fqsBLkgn5hjdwmVZ56FGviTO4TxTdbbk49R60pDHucCmwMgbbv97bmu07A/JB\r
++H0Xrj1JHD9l2Agc0nLlgdsKjCFZ7rdDztan+tJd5/g2/VHNG1Jpv3+f4k9Q4q77\r
+mk2uSfYcKejZIkVj/niUEX3MNzBhl2L4fKhi4DqQVO5XB/I+INPbqjnVVTSMdpV3\r
+wxwFWyIv/9YcMD9rLuS3\r
+=BQBC\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r