notmuch-emacs should correctly handle signature status on reply
authorViktor Ashirov <vashirov@redhat.com>
Wed, 3 Aug 2016 10:28:36 +0000 (12:28 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 23:22:18 +0000 (16:22 -0700)
08/018ef4218148363d651d06e710191242159cff [new file with mode: 0644]

diff --git a/08/018ef4218148363d651d06e710191242159cff b/08/018ef4218148363d651d06e710191242159cff
new file mode 100644 (file)
index 0000000..2875931
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <vashirov@redhat.com>\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 6F45F6DE01EE\r
+ for <notmuch@notmuchmail.org>; Wed,  3 Aug 2016 03:34:32 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -5.032\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-5.032 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01,\r
+ RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,\r
+ T_RP_MATCHES_RCVD=-0.01] 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 WP_lU6fC7pPo for <notmuch@notmuchmail.org>;\r
+ Wed,  3 Aug 2016 03:34:24 -0700 (PDT)\r
+X-Greylist: delayed 343 seconds by postgrey-1.35 at arlo;\r
+ Wed, 03 Aug 2016 03:34:24 PDT\r
+Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 64F1F6DE00BD\r
+ for <notmuch@notmuchmail.org>; Wed,  3 Aug 2016 03:34:24 -0700 (PDT)\r
+Received: from int-mx14.intmail.prod.int.phx2.redhat.com\r
+ (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27])\r
+ (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\r
+ (No client certificate requested)\r
+ by mx1.redhat.com (Postfix) with ESMTPS id 2274E4E023\r
+ for <notmuch@notmuchmail.org>; Wed,  3 Aug 2016 10:28:41 +0000 (UTC)\r
+Received: from slowpoke.usersys.redhat.com.redhat.com\r
+ (ovpn-204-69.brq.redhat.com [10.40.204.69])\r
+ by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id\r
+ u73ASb9T000870\r
+ (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)\r
+ for <notmuch@notmuchmail.org>; Wed, 3 Aug 2016 06:28:40 -0400\r
+From: Viktor Ashirov <vashirov@redhat.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: notmuch-emacs should correctly handle signature status on reply\r
+User-Agent: Notmuch/0.21 (https://notmuchmail.org) Emacs/25.0.94.1\r
+ (x86_64-redhat-linux-gnu)\r
+Date: Wed, 03 Aug 2016 12:28:36 +0200\r
+Message-ID: <87invii1t7.fsf@slowpoke.usersys.redhat.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27\r
+X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16\r
+ (mx1.redhat.com [10.5.110.38]); Wed, 03 Aug 2016 10:28:41 +0000 (UTC)\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, 03 Aug 2016 10:34:32 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+Hi,\r
+\r
+in notmuch-emacs, when I reply to multipart/signed email, signature\r
+status gets inserted in the cited message, like this:\r
+\r
+----------\r
+John Doe writes:\r
+> [ Unknown signature status ]\r
+> Hello world!\r
+----------\r
+\r
+Even though signature was verified when email is viewed in notmuch-show\r
+----------\r
+ [ multipart/signed ]\r
+ [ Good signature by:  John Doe <jdoe@example.org> ]\r
+ [ text/plain ]\r
+----------\r
+\r
+So I'd like to be able to\r
+1. Not include signature status in the cited message\r
+2. But when I want to include it, it should be correctly processed.\r
+\r
+Thanks!\r
+\r
+--\r
+Viktor\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAEBCAAGBQJXocdUAAoJENolJPs2TTN4DbYP/1iyrX9HSkFwkiJak+qOPa5M\r
+0K0aH10kShk9ixTJjD7JhHA3NrvFbsmYiXSXwkEoNNbW9cec4pTZWtfU7+QY1x2C\r
+JYplTLHXP69/tk6yI10HOlF7HkJGchL7t8ujQT/nzh5PcpF/urn9Cer8T8UQb4JM\r
+I6Wv9F05ut8rnZ5ZSs0IWdntyJoZ+xn8xHpGg+mT004CAp7KuyWgi5LktQTPMyKr\r
+tc9EE068+BTy/5ujseQREN3JlpfTQqhLlWRROj/O7xhIPGedp+UjYxdI/6/kdFTW\r
+eC4tj7KCPpeGbbPzpzt2NnyvwnQKXxgRpQPsDVtnOysYmueI/m/mUBbu2zY6eZv1\r
+Wa7Wwkw0HZNxWepnPQJuvfQRXzMJHy2YYsV462sbS723W8rpWXOmSNGcyz7X8uKE\r
+vASL3nlNViO9EkKc+xeURchmRZyIYEf7x/ZznrgcBzJeWJLdVl+tuaKttvyo1hhb\r
+npTsz/sSzGFiwFE+gde/Ms9Q4sjAC5aimdBWchTGqkPsdnsWdE+2Y41QhaPxPYjU\r
+OuQ5jcGJREQ5vMDvJh02s3g4cs0Kd+xbPNIy6WMmm3SJoG9NDJvAvm6Js9QajHy1\r
+93Zh3N0vGlv4lqlLdGzH8qXtW2Non2bxlv7wBHgSu1F1AFf9tUldT2i44S3ciKV+\r
+MehxOYOTAj9vZmn5GfTl\r
+=UPzO\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r