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 56834418C36 for ; Mon, 26 Apr 2010 09:11:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.89 X-Spam-Level: X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=ham 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 EJSSK-XW6+I3 for ; Mon, 26 Apr 2010 09:11:29 -0700 (PDT) Received: from mail-bw0-f210.google.com (mail-bw0-f210.google.com [209.85.218.210]) by olra.theworths.org (Postfix) with ESMTP id 6B229418C25 for ; Mon, 26 Apr 2010 09:11:29 -0700 (PDT) Received: by bwz2 with SMTP id 2so11311473bwz.30 for ; Mon, 26 Apr 2010 09:11:28 -0700 (PDT) Received: by 10.204.126.130 with SMTP id c2mr2726024bks.155.1272298287696; Mon, 26 Apr 2010 09:11:27 -0700 (PDT) Received: from ut.hh.sledj.net (host83-217-165-81.dsl.vispa.com [83.217.165.81]) by mx.google.com with ESMTPS id 14sm1561547bwz.14.2010.04.26.09.11.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 09:11:26 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 1810759413B; Mon, 26 Apr 2010 17:11:37 +0100 (BST) To: Sebastian Spaeth , Jameson Rollins , notmuch@notmuchmail.org Subject: Re: Kudos! Also: +1 PGP! In-Reply-To: <87pr1mz5ga.fsf@SSpaeth.de> References: <87r5m3gy1u.fsf@bookbinder.fernseed.info> <87zl0qihvj.fsf@servo.finestructure.net> <87pr1mz5ga.fsf@SSpaeth.de> User-Agent: Notmuch/0.2-200-gcc7098a (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 26 Apr 2010 17:11:33 +0100 Message-ID: <87sk6ichxm.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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, 26 Apr 2010 16:11:30 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 26 Apr 2010 15:52:37 +0200, "Sebastian Spaeth" wrote: > We were discussing on IRC whether decryption should be handled in > notmuch show --decrypt or in emacs and I had a quick look at what it > would take for emacs. Here is a snippet of code that outputs > "Good signature from 5585F58CC827A062 Sebastian Spaeth (Private > Communication) (trust ultimate) created at > 2010-04-26T14:27:07+0200 using DSA" in the minibuffer. I guess something > based on this could be used to parse the email and try to decrypt via gpg > and mark the signature status in the summary line: Inline PGP could be handled by the text/plain washing functions. I had a quick go at this and bremner tested, but there were some wrinkles and I didn't finish it. multipart/signed really needs the re-worked JSON output so that the UI can know what is going on. It might be possible to kludge something together with the current output, but it will be awkward. dme. =2D-=20 David Edmondson, http://dme.org --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvVuzUACgkQaezQq/BJZRZqFgCfUKpEiSwf2Am8bxSjuzPd8i3P oegAni+JuRCDOzc8gw3sNN8nOjn30dYN =plkQ -----END PGP SIGNATURE----- --=-=-=--