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 37E9B429E25 for ; Thu, 12 Jan 2012 11:05:53 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] 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 HVzzzQ9O41fj for ; Thu, 12 Jan 2012 11:05:51 -0800 (PST) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by olra.theworths.org (Postfix) with SMTP id 2E138431FB6 for ; Thu, 12 Jan 2012 11:05:51 -0800 (PST) Received: (qmail invoked by alias); 12 Jan 2012 19:05:49 -0000 Received: from p54BE5E25.dip.t-dialin.net (EHLO shi.workgroup) [84.190.94.37] by mail.gmx.net (mp055) with SMTP; 12 Jan 2012 20:05:49 +0100 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX1+meL4tEPimLDy7FPUuqO+KFtS2f6hJnLvOfO2EEQ XP9nKp7RqnAJmB Received: from grfz by shi.workgroup with local (Exim 4.77) (envelope-from ) id 1RlPxu-0006iJ-7U; Thu, 12 Jan 2012 20:05:34 +0100 Date: Thu, 12 Jan 2012 20:05:14 +0100 From: Gregor Zattler To: notmuch Subject: Re: Emacs: Crypto: How to get automatic encryption? Message-ID: <20120112190514.GA15301@shi.workgroup> Mail-Followup-To: notmuch References: <20120103195651.GA27869@shi.workgroup> <87fwfw8npx.fsf@servo.finestructure.net> <87k44wlq5g.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k44wlq5g.fsf@servo.finestructure.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Y-GMX-Trusted: 0 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: Thu, 12 Jan 2012 19:05:53 -0000 Hi Jameson, * Jameson Graef Rollins [12. Jan. 2012]: > On Tue, 03 Jan 2012 13:45:14 -0800, Jameson Graef Rollins wrote: >> Unfortunately, auto encrypting of replies to encrypted emails is not yet >> implemented. It is desperately needed, though, obviously. So this is a >> good excuse to start a discussion about how we could achieve this. [...] > There is a set of patches in the queue to add a JSON output format for > reply, with the emacs UI then consuming that to construct the reply > template [0]. This will make it very easy to communicate to the emacs > UI that the original message was encrypted, and that the reply should be > similarly encrypted. I'm going to wait until that patch set makes it > through, and then build this functionality on top of that. > [0] id:"1326009162-19524-3-git-send-email-awg+notmuch@xvx.ca" That would be really great. But how about not only replying encrypted but encrypting every email if possible? "Possible" could mean different things, though: 1) encrypt if fully trusted suitable public keys for all recipients are GnuPG key ring. 2) encrypt if suitable public keys for all recipients are in GnuPGs key ring. 3) try to fetch suitable public keys from server in order to to check 2). I for instance fiddled with my mutt configuration to achieve 1). But I have no clue about how to do this with notmuch/Emacs. Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-