Re: [PATCH 1/2] cli: S/MIME verification/decryption support
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 6 Jul 2014 17:36:08 +0000 (10:36 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:03:25 +0000 (10:03 -0800)
05/8e7ad57549d233c9154854c75dde710abe3acc [new file with mode: 0644]

diff --git a/05/8e7ad57549d233c9154854c75dde710abe3acc b/05/8e7ad57549d233c9154854c75dde710abe3acc
new file mode 100644 (file)
index 0000000..a964bd2
--- /dev/null
@@ -0,0 +1,106 @@
+Return-Path: <jrollins@finestructure.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 olra.theworths.org (Postfix) with ESMTP id 10B8B431FBD\r
+       for <notmuch@notmuchmail.org>; Sun,  6 Jul 2014 10:36:24 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 1HVVK8-37csQ for <notmuch@notmuchmail.org>;\r
+       Sun,  6 Jul 2014 10:36:16 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 48701431FAF\r
+       for <notmuch@notmuchmail.org>; Sun,  6 Jul 2014 10:36:16 -0700 (PDT)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id 8C551328197;\r
+       Sun,  6 Jul 2014 10:36:12 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-107-185-189-81.socal.res.rr.com\r
+       [107.185.189.81])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested) (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id 4A2A0328118;\r
+       Sun,  6 Jul 2014 10:36:11 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id BF3D86020C; Sun,  6 Jul 2014 10:36:10 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: David Bremner <david@tethera.net>, Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH 1/2] cli: S/MIME verification/decryption support\r
+In-Reply-To: <87wqbxic02.fsf@maritornes.cs.unb.ca>\r
+References: <1340995101-9616-1-git-send-email-jrollins@finestructure.net>\r
+       <1395031944-15557-1-git-send-email-jrollins@finestructure.net>\r
+       <1395031944-15557-2-git-send-email-jrollins@finestructure.net>\r
+       <87wqbxic02.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Notmuch/0.17+198~gcd7c077 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 06 Jul 2014 10:36:08 -0700\r
+Message-ID: <87simefkzb.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 06 Jul 2014 17:36:24 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+On Tue, Jul 01 2014, David Bremner <david@tethera.net> wrote:\r
+> Jameson Graef Rollins <jrollins@finestructure.net> writes:\r
+>\r
+>> The notmuch-show flags --decrypt and --verify will now also process\r
+>> S/MIME multiparts if encountered.  Requires gmime-2.6 and gpgsm.\r
+>\r
+> I was trying to figure out how to test this. I tried a few couple signed\r
+> messages, but I got "bad" signature status in both cases.\r
+>\r
+> An example message is attached.\r
+>\r
+>    http://mid.gmane.org/4F1423A1.90909@cms.hu-berlin.de\r
+>\r
+> Are we missing the signature between bad and untrusted signatures, or\r
+> does that distinction not exist for S/MIME?\r
+\r
+Hey, David.  How did you generate the signatures?  I would love to see a\r
+script that generates a signature on a test message.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iQIcBAEBCAAGBQJTuYkIAAoJEO00zqvie6q8uuYP/ifQWXCD5XhjslHqaL4WNLps\r
+CJGggEn7QfcH/gvEXpKSYlpHhpG8RNwXHlO0AnHdBSI0U2YTG4cASvhfAn5eVzG3\r
+7OJFVYpghB1Mr79TwQeQnCB9wmReeDWT0PHsEH6zaT/LSZdeqxBIb6WxVBqDhuc0\r
+sv4KK0K4exg7Cy6AfMoJkXBVtlAO2Fh9HkIJFFDUvzR5rARg+b8DHq2ZbrONg9Sz\r
+VZ8156sEgoFDYmsqP2TEI/vDPxuZcbtkm+0MOJaUIdLxBbFji/cPfm7uspOlZlUs\r
+J/eTEbuYwNzHtanYp7yDp63Mfv41H1C4q0dxTxUAmbVGCVgK/HySzHTP56njtHtK\r
+4i58wuMsBlOCkc6VFKca87bVSzbA21oufGstqES8dhbEY31PnP/eEk9PIhzFefXi\r
+jgPU3nWW9gzlBNQLbyGH+/9Lru6k3be8D6/3P/nt7buwhOzZ+J5GqHXsPJdxn4s9\r
+nzLl3/zYTSzffzVtTwhmiTH0oRqLo4LMdTU2q9rLHQXUg8HClWpKRJOOQwYm8NHd\r
+G85PGua8i8cWESVfuZYRkzF4eh5wctl4yKylWkdPlGJDd0zWHaTDtKgLe8Kj3oVk\r
+iemxI0v8j1spjKTiBPMOsiZaZtID4LGA4buw7wnolli6DtTG39eOmhc+ERMl3amJ\r
+jEr/rVYyubuj2JZmxS2A\r
+=TOrX\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r