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 C0698431FC2; Thu, 26 Nov 2009 10:41:50 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 6LyXGNTftPyB; Thu, 26 Nov 2009 10:41:50 -0800 (PST) Received: from cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 12FFD431FAE; Thu, 26 Nov 2009 10:41:50 -0800 (PST) From: Carl Worth To: Jameson Graef Rollins , notmuch@notmuchmail.org In-Reply-To: <20091123130009.GA31695@finestructure.net> References: <20091123130009.GA31695@finestructure.net> Date: Thu, 26 Nov 2009 10:41:36 -0800 Message-ID: <87zl69qgbj.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] OpenPGP support X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Thu, 26 Nov 2009 18:41:50 -0000 On Mon, 23 Nov 2009 08:00:09 -0500, Jameson Graef Rollins wrote: > Hi, folks. I know it's a hairy problem, but has anyone started > looking into OpenPGP support for notmuch? I definitely want this. I've got message-mode setup to sign my messages automatically when I start a new compose from within notmuch with 'm'. I did this with the following in my .emacs: ; sign messages by default (add-hook 'message-setup-hook (lambda () (mml-secure-message-sign))) I'm not sure how to make sure that I also get that when doing a reply within notmuch. Keith, I think you worked this out, right? What did you do? I'm also interested in automating things like this as much as possible. I'd much rather people flip one Boolean notmuch-sign-messages variable then have to code up multiple lambda's within .emacs. Meanwhile, the other pieces still needed are automatic signature verification for multipart/signed messages, and then support for decrypting GPG-encrypted messages. I'm certain that the various mail-handling modes within emacs already have support for these things, so it's really just a matter of finding and hooking into that support. Of course, if we code some of this up at the library or command-line level, then the non-emacs interfaces could automatically benefit from it as well. And that same argument applies for viewing of MIME-encoded message parts---I definitely want support at the command-line interface of notmuch to at least extract a specific MIME part from a message. In one sense, it's unfortunate that I figured out a way to let me view these parts within emacs without that support in the notmuch command-line. That definitely took the pressure off me to finish up coding this piece, (which actually wouldn't be hard at all). -Carl