From 855e682acc132d7637387bc1439b299956bdaba3 Mon Sep 17 00:00:00 2001 From: Viktor Ashirov Date: Wed, 3 Aug 2016 18:02:03 +0200 Subject: [PATCH] Re: notmuch-emacs should correctly handle signature status on reply --- 00/e9a7965ff55c9e7434aa661f1845fc15802d17 | 132 ++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 00/e9a7965ff55c9e7434aa661f1845fc15802d17 diff --git a/00/e9a7965ff55c9e7434aa661f1845fc15802d17 b/00/e9a7965ff55c9e7434aa661f1845fc15802d17 new file mode 100644 index 000000000..0b324663c --- /dev/null +++ b/00/e9a7965ff55c9e7434aa661f1845fc15802d17 @@ -0,0 +1,132 @@ +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 ED3046DE0173 + for ; Wed, 3 Aug 2016 09:02:20 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -5.027 +X-Spam-Level: +X-Spam-Status: No, score=-5.027 tagged_above=-999 required=5 tests=[AWL=0.005, + RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, + SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + 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 dGLqX3hwHyg3 for ; + Wed, 3 Aug 2016 09:02:09 -0700 (PDT) +Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) + by arlo.cworth.org (Postfix) with ESMTPS id A20E26DE0005 + for ; Wed, 3 Aug 2016 09:02:09 -0700 (PDT) +Received: from int-mx14.intmail.prod.int.phx2.redhat.com + (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) + (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) + (No client certificate requested) + by mx1.redhat.com (Postfix) with ESMTPS id B68EA4E327; + Wed, 3 Aug 2016 16:02:08 +0000 (UTC) +Received: from slowpoke.usersys.redhat.com.redhat.com + (ovpn-204-32.brq.redhat.com [10.40.204.32]) + by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id + u73G24BG021684 + (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); + Wed, 3 Aug 2016 12:02:07 -0400 +From: Viktor Ashirov +To: Daniel Kahn Gillmor , notmuch@notmuchmail.org +Subject: Re: notmuch-emacs should correctly handle signature status on reply +In-Reply-To: <87d1lpdg5e.fsf@alice.fifthhorseman.net> +References: <87invii1t7.fsf@slowpoke.usersys.redhat.com> + <87d1lpdg5e.fsf@alice.fifthhorseman.net> +User-Agent: Notmuch/0.21 (https://notmuchmail.org) Emacs/25.0.94.1 + (x86_64-redhat-linux-gnu) +Date: Wed, 03 Aug 2016 18:02:03 +0200 +Message-ID: <87popp6dtw.fsf@slowpoke.usersys.redhat.com> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 +X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 + (mx1.redhat.com [10.5.110.38]); Wed, 03 Aug 2016 16:02:08 +0000 (UTC) +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 16:02:21 -0000 + +--=-=-= +Content-Type: text/plain + +On Wed, Aug 03 2016 at 11:30:05 am, Daniel Kahn Gillmor wrote: +> 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). +I see your point, and I agree. +> +> 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. +Sounds good to me. +> +> --dkg +-- +Viktor + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJXohV7AAoJENolJPs2TTN4C8wP/2ARrM9TgvE2icrUuTT8pW07 +++j7IGEFD97WZGz4B2P5Uuepzb3WEpLPDMtJMuquScc3KOOWM8eArTbwt6XoZl9w +Iem56Y4Bm3uri6JWs8bQBzS5yowE/no2xQ3CyTNjhAN1mzC1KV92vz3nzJGZ7ejc +MU0FtHuOsKTklP7+8B4gfVOPv3EB7y3HReQ7uxg2o5SeE9MqrP8zTKjTrnxiKIf7 +pJNGo2zy/+FlE7F3bseFu2INyVS1Bajmoy9+qQ6r82l83+kFx4PbksV8QJhCvTMg +RfAfGejfCLkMiba9An/5PlbYF46mK5dlrjQ+zhTBa8JB3dCLPH+X2QzL3+CnKhFc +ClyGf9xPYC1r+FuIXzR86T8/z0+T5b/NuFTvO9qcouTSCwDz9RrDctSw2+ZCdG+4 +0Vuujh2A6jPVI319LTtGIlFJ+GZpH8klMZLt3G4C6eD6v1isxxXX/sAv8+oFggxH +YWglnJZoQv8NRwSVl7AiIG4bFAoqKOThAPlsn2WZ8JVxJtQ7FKi6wDVb80iKv2Qq +sx28xqMpdQ4NuvlfOknXvLRUuLTVDGp8MGEiESZmJQK8dHZoWQRSxtB/xdvBDT4v +ytqY10DcFXbmB8l9oW9QjyK1Y4aTeJ5NNPJMv+UirK6M0fKGx9+zgaCg9+hfiDYm +zmtfOaZs38iXKHEMp1ZX +=Uq/6 +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2