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