From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id ABA39431FB6 for ; Mon, 13 Dec 2010 14:04:16 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 EuKiy2UmE8u6 for ; Mon, 13 Dec 2010 14:04:16 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C7D8C431FB5 for ; Mon, 13 Dec 2010 14:04:15 -0800 (PST) Received: from zancas.localnet (fctnnbsc30w-142167185189.pppoe-dynamic.High-Speed.nb.bellaliant.net [142.167.185.189]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id oBDM4Con019777 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 13 Dec 2010 18:04:14 -0400 Received: from bremner by zancas.localnet with local (Exim 4.72) (envelope-from ) id 1PSGTh-0008Bt-BF; Mon, 13 Dec 2010 18:02:41 -0400 From: David Bremner To: notmuch Subject: Re: PGP/MIME signature verification In-Reply-To: <4CF15D67.1070904@fifthhorseman.net> References: <4CF15D67.1070904@fifthhorseman.net> User-Agent: Notmuch/0.5-29-gb3caef1 (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Mon, 13 Dec 2010 18:02:41 -0400 Message-ID: <8739q1qqke.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Mon, 13 Dec 2010 22:04:16 -0000 On Sat, 27 Nov 2010 14:35:03 -0500, Daniel Kahn Gillmor wrote: > hey folks-- > > the signature-verification branch on my git repo [0] contains functional > PGP/MIME signature verification if you supply the --verify argument to > > notmuch show --format=json > > It relies on gpg being in the path, and on the user having the signer's > key in their gnupg keyring. > > The patchset depends on the MIME reorganization produced initially by > dme (and rebased against 0.5 in my mp3-on-0.5 branch). I had a look at dkg's patch and it looks reasonable to me. Except for the small amount of self described "crufty boilplate" which I was too lazy to understand. I also compiled and ran it, it seemed to work OK on the two test cases I had handy. I've started writing a testsuite for the Mail::GnuPG perl module; perhaps the messages in http://pivot.cs.unb.ca/git/?p=mail-gnupg.git;a=tree;f=t/msg can be helpful for testing notmuch as well. d