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