Re: PGP/MIME signature verification
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 21 Dec 2010 15:36:28 +0000 (10:36 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:41 +0000 (09:37 -0800)
24/86c0ae97ee427011f0b79a9e274560083473c7 [new file with mode: 0644]

diff --git a/24/86c0ae97ee427011f0b79a9e274560083473c7 b/24/86c0ae97ee427011f0b79a9e274560083473c7
new file mode 100644 (file)
index 0000000..a039b80
--- /dev/null
@@ -0,0 +1,135 @@
+Return-Path: <dkg@fifthhorseman.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 2331C431FD0\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Dec 2010 07:36:40 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.001\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.001 tagged_above=-999 required=5\r
+       tests=[UNPARSEABLE_RELAY=0.001] 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 IByYItxBk44g for <notmuch@notmuchmail.org>;\r
+       Tue, 21 Dec 2010 07:36:39 -0800 (PST)\r
+Received: from rodolpho.mayfirst.org (rodolpho.mayfirst.org [209.234.253.107])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 95A44431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Dec 2010 07:36:39 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by rodolpho.mayfirst.org (Postfix) with ESMTP id 13DF13CD85\r
+       for <notmuch@notmuchmail.org>; Tue, 21 Dec 2010 10:36:34 -0500 (EST)\r
+X-Virus-Scanned: Debian amavisd-new at rodolpho.mayfirst.org\r
+Received: from rodolpho.mayfirst.org ([127.0.0.1])\r
+       by localhost (rodolpho.mayfirst.org [127.0.0.1]) (amavisd-new,\r
+       port 10024) with ESMTP id 3iEod1sp7j7D for <notmuch@notmuchmail.org>;\r
+       Tue, 21 Dec 2010 10:36:33 -0500 (EST)\r
+Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender:\r
+       smtpauth@rodolpho.mayfirst.org) with ESMTPSA id 1760B3CD84\r
+Message-ID: <4D10C97C.7060602@fifthhorseman.net>\r
+Date: Tue, 21 Dec 2010 10:36:28 -0500\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;\r
+       rv:1.9.2.12) Gecko/20101110 Icedove/3.1.6\r
+MIME-Version: 1.0\r
+To: notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: PGP/MIME signature verification\r
+References: <4CF15D67.1070904@fifthhorseman.net>\r
+       <87aak08fu8.fsf@servo.finestructure.net>\r
+       <87zkrz314j.fsf@SSpaeth.de>\r
+In-Reply-To: <87zkrz314j.fsf@SSpaeth.de>\r
+X-Enigmail-Version: 1.1.2\r
+OpenPGP: id=D21739E9\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+       protocol="application/pgp-signature";\r
+       boundary="------------enigEC6DAF75E244C68ABEE1ADE9"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: notmuch <notmuch@notmuchmail.org>\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: Tue, 21 Dec 2010 15:36:40 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 2440 and 3156)\r
+--------------enigEC6DAF75E244C68ABEE1ADE9\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 12/21/2010 04:51 AM, Sebastian Spaeth wrote:\r
+> So what am I doing wrong, I pulled your branch and compiled/installed,\r
+> but I don't see any signature verification in my emacs?\r
+>=20\r
+> Unless all work is still in the notmuch binary,=20\r
+\r
+yes, the branch as it stands just concerns itself with the notmuch binary=\r
+=2E\r
+\r
+> I see for your mail,\r
+> e.g.=20\r
+> "sigstatus": [{"status": "error","keyid": "ED34CEABE27BAABC", "errors":=\r
+\r
+> 2}]\r
+> (perhaps due to me not having your key???)\r
+\r
+yup, that is why you get that error.\r
+\r
+> On a side note:\r
+> notmuch show format=3Djson --verify id:"87aak08fu8.fsf@servo.finestruct=\r
+ure.net"\r
+>=20\r
+> is ok but:\r
+> notmuch show --verify id:"87aak08fu8.fsf@servo.finestructure.net"\r
+>=20\r
+> neither omplains nor shows anything in addition. Should it do one of th=\r
+e\r
+> two?\r
+\r
+the patch is specifically only for the json output.  If you'd like the\r
+same features for the non-json output, that would be cool to see, but i\r
+don't understand those formats well enough to know how to incude that\r
+kind of info in them.\r
+\r
+If this seems like i've only done one small corner of the task needed to\r
+get signature verification: you're right!  I deliberately scoped the\r
+initial task to be small-but-doable.  i want to make sure this seems\r
+acceptable/reasonable before digging into the other pieces.\r
+\r
+       --dkg\r
+\r
+\r
+--------------enigEC6DAF75E244C68ABEE1ADE9\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+Content-Disposition: attachment; filename="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\r
+\r
+iQIcBAEBCgAGBQJNEMl8AAoJEMzS7ZTSFznpDRwQAKWPuvfF1LegNfCWbJcTRUJL\r
+Cdn7NljH3HsEYpXixODcWIuvg8nilSLXqII941bflvJprCTI79ktw3/VlgMuhdS9\r
+cQjC0qdze8ePgmYJGZJdNengTSmNrytb1dfW/Y9UHVrco+DZp/fEV5g5W6Rwbenb\r
+6IkmfsXZvPrhCe/JajkY4Lfajkl6R55qsnaq2QklPHrvs2T5rMbyNQBKvIQmu9qM\r
+e1TJUt2J8vKRiWd5yL2H4mATS4LErUUo2Y1rbQiYGvuUy2QKjO4qiOindmnWTlY0\r
+qSdCRvK6ciP5nfAZMjF6xsZMahQ6HwA428fI39cCl7UdiKnbOgS9kJZZZ/Cm7MJu\r
+GNDoM0U7hvYZ5xbLj4U2WyMjT1a3NHhSRA0mbCEm9Sfppp3K9JJDhceyGIRXCCf/\r
+EXF1WH9xwPkuEf+Hzzy7hQxDoUAdZGFHNYWYFF1Kbx7Tzh9tpNmV/hb8l9g9hzoT\r
+LMrvKj+Ria4mVITs12ZqJJqqFqqhSJqe5bppW3IRiuAQrIPw/tf3R1z4ZeeI6L9R\r
+SwRmFh3EACeduGqWH92Q9/N3MDLQ6VpAU6+/CGWehNvLqjNj5gVNNtqxtyWNfJoh\r
+CnHD813pmJmYdeMionCZi2ukE0taHi57acYhjdi3JEAiw0RZulj0YRDRoNXT8z9a\r
+dPvnHwzklFMyWMwpG7w4\r
+=oRex\r
+-----END PGP SIGNATURE-----\r
+\r
+--------------enigEC6DAF75E244C68ABEE1ADE9--\r