Re: Smime signature verification in Notmuch - Emacs
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 14 Mar 2014 18:12:21 +0000 (14:12 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:46 +0000 (10:00 -0800)
33/44230e3cece978bcfb4580ceb956bfd56455d6 [new file with mode: 0644]

diff --git a/33/44230e3cece978bcfb4580ceb956bfd56455d6 b/33/44230e3cece978bcfb4580ceb956bfd56455d6
new file mode 100644 (file)
index 0000000..1f8c531
--- /dev/null
@@ -0,0 +1,166 @@
+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 2075C431FB6\r
+       for <notmuch@notmuchmail.org>; Fri, 14 Mar 2014 11:12:40 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 oj1E86B3jYMO for <notmuch@notmuchmail.org>;\r
+       Fri, 14 Mar 2014 11:12:32 -0700 (PDT)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+       by olra.theworths.org (Postfix) with ESMTP id BE56F431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 14 Mar 2014 11:12:32 -0700 (PDT)\r
+Received: from [10.70.10.55] (unknown [38.109.115.130])\r
+       by che.mayfirst.org (Postfix) with ESMTPSA id 1F038F984;\r
+       Fri, 14 Mar 2014 14:12:31 -0400 (EDT)\r
+Message-ID: <53234685.7020308@fifthhorseman.net>\r
+Date: Fri, 14 Mar 2014 14:12:21 -0400\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; Linux x86_64;\r
+       rv:24.0) Gecko/20100101 Icedove/24.2.0\r
+MIME-Version: 1.0\r
+To: David Bremner <david@tethera.net>, Baptiste <bateast@bat.fr.eu.org>, \r
+       notmuch@notmuchmail.org\r
+Subject: Re: Smime signature verification in Notmuch - Emacs\r
+References: <87y50r42do.fsf@bat.fr.eu.org>\r
+       <531F4FDD.6000506@fifthhorseman.net>    <87siqlrqq8.fsf@bat.fr.eu.org>\r
+       <53231CEC.6070101@fifthhorseman.net>    <8761ngfyb6.fsf@tethera.net>\r
+In-Reply-To: <8761ngfyb6.fsf@tethera.net>\r
+X-Enigmail-Version: 1.6\r
+Content-Type: multipart/signed; protocol="application/pkcs7-signature";\r
+       micalg=sha1; boundary="------------ms070401030507080902080902"\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: Fri, 14 Mar 2014 18:12:40 -0000\r
+\r
+This is a cryptographically signed message in MIME format.\r
+\r
+--------------ms070401030507080902080902\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 03/14/2014 02:08 PM, David Bremner wrote:\r
+> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:\r
+>>\r
+>> I agree that S/MIME support would be nice; i think implementing it in\r
+>> the notmuch core is the way to go.  fwiw, gmime already has a\r
+>> cryptocontext that is supposed to handle S/MIME; it just needs proper\r
+>> integration, similar to the PGP/MIME integration in notmuch core:\r
+>>\r
+>>  https://developer.gnome.org/gmime/stable/GMimePkcs7Context.html\r
+>>\r
+>> This has been on my plate for, uh, over a year now, but clearly i\r
+>> haven't gotten to it, and would be happy if someone else wanted to pic=\r
+k\r
+>> it up.\r
+>=20\r
+> Like Jamie did?\r
+>=20\r
+>      id:1340995101-9616-1-git-send-email-jrollins@finestructure.net\r
+\r
+that message has an "ahem, dkg" -- it's waiting on me for something -- a\r
+test suite, i guess?\r
+\r
+sigh.  like i said, years and years.  if anyone wants to pass a test\r
+suite for jamie's code, that'd be great.\r
+\r
+(I'm S/MIME-signing this message with some wacky comodo cert out of\r
+sheer perversity)\r
+\r
+       --dkg\r
+\r
+\r
+--------------ms070401030507080902080902\r
+Content-Type: application/pkcs7-signature; name="smime.p7s"\r
+Content-Transfer-Encoding: base64\r
+Content-Disposition: attachment; filename="smime.p7s"\r
+Content-Description: S/MIME Cryptographic Signature\r
+\r
+MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKTTCC\r
+BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV\r
+BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT\r
+FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3Qu\r
+Y29tMTYwNAYDVQQDEy1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQg\r
+RW1haWwwHhcNMTEwNDI4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjCBkzELMAkGA1UEBhMCR0Ix\r
+GzAZBgNVBAgTEkdyZWF0ZXIgTWF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