From a4a81531943b6ddcc4fc989c30a93b70473523cd Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Thu, 4 Aug 2016 11:30:05 +2000 Subject: [PATCH] Re: notmuch-emacs should correctly handle signature status on reply --- e1/74776d01540953b5fce7a7f6c516052c365502 | 116 ++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 e1/74776d01540953b5fce7a7f6c516052c365502 diff --git a/e1/74776d01540953b5fce7a7f6c516052c365502 b/e1/74776d01540953b5fce7a7f6c516052c365502 new file mode 100644 index 000000000..741b0388a --- /dev/null +++ b/e1/74776d01540953b5fce7a7f6c516052c365502 @@ -0,0 +1,116 @@ +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 5585B6DE01BE + for ; Wed, 3 Aug 2016 08:34:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.036 +X-Spam-Level: +X-Spam-Status: No, score=-0.036 tagged_above=-999 required=5 + tests=[AWL=-0.036] 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 nC-9cSrtUljB for ; + Wed, 3 Aug 2016 08:34:40 -0700 (PDT) +Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) + by arlo.cworth.org (Postfix) with ESMTP id 729AB6DE0005 + for ; Wed, 3 Aug 2016 08:34:39 -0700 (PDT) +Received: from fifthhorseman.net (unknown [38.109.115.130]) + by che.mayfirst.org (Postfix) with ESMTPSA id 257D9F993; + Wed, 3 Aug 2016 11:34:37 -0400 (EDT) +Received: by fifthhorseman.net (Postfix, from userid 1000) + id DCA421FF75; Wed, 3 Aug 2016 11:30:08 -0400 (EDT) +From: Daniel Kahn Gillmor +To: Viktor Ashirov , notmuch@notmuchmail.org +Subject: Re: notmuch-emacs should correctly handle signature status on reply +In-Reply-To: <87invii1t7.fsf@slowpoke.usersys.redhat.com> +References: <87invii1t7.fsf@slowpoke.usersys.redhat.com> +User-Agent: Notmuch/0.22+77~gaba8744 (https://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Wed, 03 Aug 2016 11:30:05 -0400 +Message-ID: <87d1lpdg5e.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, 03 Aug 2016 15:34:52 -0000 + +--=-=-= +Content-Type: text/plain + +On Wed 2016-08-03 06:28:36 -0400, Viktor Ashirov wrote: + +> in notmuch-emacs, when I reply to multipart/signed email, signature +> status gets inserted in the cited message, like this: +> +> ---------- +> John Doe writes: +>> [ Unknown signature status ] +>> Hello world! +> ---------- +> +> Even though signature was verified when email is viewed in notmuch-show +> ---------- +> [ multipart/signed ] +> [ Good signature by: John Doe ] +> [ text/plain ] +> ---------- +> +> So I'd like to be able to +> 1. Not include signature status in the cited message +> 2. But when I want to include it, it should be correctly processed. + +fwiw, i think that the cited message should never include signature or +decryption status, and the presence of these fields in the output of +notmuch-reply is a bug. + +I see no reason to make it configurable to show them, and some good +reasons not to: it's arguably a leak of information about your private +view of the world to include this stuff in a reply (the user can always +choose to write about their private view of the world manually if they +want to). + +notmuch-emacs already has too many options, and we should be +parsimonious about adding new ones. + +i suggest dropping the signature and encryption status entirely from +notmuch-reply. + + --dkg + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQJ8BAEBCgBmBQJXog3+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy +NEVDRkY1QUZGNjgzNzBBAAoJECTs/1r/aDcKb/gP/A/FWlup2enJcVK3FxIKo61s +sgJIC5BE9mDXZtqg+klGdfAcobdgjWGppE9WoI82VxA/VnjEy7i/RdM65usRUNwp +jWPHb/14R0UKawsQg0XAC294a3MbtptjJzKGPphMhnKlN3cw2BwI77NNWSvDxJvp +Cu7kN4BcXFKCsTFNvoERdXRAb2bTaNi/JAXiCuXQMGQXYs3rsAAxJuixLrOS9FrF +ObgZK1BjfrxjuZAxC+UyT9HdM/nWUODo2BWSQVZfyEIP+hCbWb0Z19d3AvkIJ9WT +CVwyCTGl004fyIqdnw2qmOu2TafJ9obJV6X3/HJg4UyZWXrjz2TIdfIaeUcxUq1P +enm3XrwQzbdhi7/n/sljzHedufDUyfByLmDrnGlS29B6iLtcoI20J5UZhm5l0Qeq +MkGaYC/mNraahmuqUEnE5GpYrZ99rE+WfqRMRUYxM97xxFEu0tqLs9Quvh/ecai0 +rEwrPHYPPyFlSbT+UQ9lQdfE+ghOp7s6gWJJJYKf/uo75YazeeRuxsqt1lGQFUYB +gFskSzUYnBzvR5cNe0cLm4LumWnbxk+vUUjR06R3zlEBYoM/LzFdm8S1RdL5fgwD +2U82rNiqWsvSBLwEAHPD1jfb7G7H+IJZnvffdbC/qpDOjpgGsJo5ETD2XoRJ9qzv +3LT60bwkdx/hKdO1oR1Y +=bCUo +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2