Re: [notmuch] gpg decryption
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Mon, 8 Mar 2010 11:52:06 +0000 (12:52 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:20 +0000 (09:36 -0800)
67/bb4d0d4d25d160124750fe8a571299b6fb10c2 [new file with mode: 0644]

diff --git a/67/bb4d0d4d25d160124750fe8a571299b6fb10c2 b/67/bb4d0d4d25d160124750fe8a571299b6fb10c2
new file mode 100644 (file)
index 0000000..6128060
--- /dev/null
@@ -0,0 +1,63 @@
+Return-Path: <Sebastian@SSpaeth.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1765A476B8A\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Mar 2010 03:52:26 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.691\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.691 tagged_above=-999 required=5\r
+       tests=[AWL=-0.692, BAYES_50=0.001] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id fPdNRVnZK5sq for <notmuch@notmuchmail.org>;\r
+       Mon,  8 Mar 2010 03:52:25 -0800 (PST)\r
+Received: from homiemail-a11.g.dreamhost.com (caiajhbdcagg.dreamhost.com\r
+       [208.97.132.66])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7C646476B75\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Mar 2010 03:52:25 -0800 (PST)\r
+Received: from sspaeth.de (mtec-hg-docking-1-dhcp-204.ethz.ch\r
+       [129.132.133.204])\r
+       by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 1E662194058\r
+       for <notmuch@notmuchmail.org>; Mon,  8 Mar 2010 03:52:08 -0800 (PST)\r
+Received: by sspaeth.de (sSMTP sendmail emulation);\r
+       Mon, 08 Mar 2010 12:52:06 +0100\r
+From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
+To: Notmuch development list <notmuch@notmuchmail.org>\r
+In-Reply-To: <87aaujyqvx.fsf@SSpaeth.de>\r
+References: <87aaujyqvx.fsf@SSpaeth.de>\r
+Date: Mon, 08 Mar 2010 12:52:06 +0100\r
+Message-ID: <878wa3yqs9.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] gpg decryption\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 08 Mar 2010 11:52:26 -0000\r
+\r
+On 2010-03-08, Sebastian Spaeth wrote:\r
+> My bank frequently sends me transactions as an inline-armored gpg\r
+> encrypted text. So I added the below 2 lines in my .emacs and added this\r
+> function to the list of notmuch-show-hook functions:\r
+> \r
+> (defun spaetz/decrypt ()\r
+>   (epa-decrypt-armor-in-region (point-min) (point-max)))\r
+\r
+Uhh, and you will have to load somehow the "epa" library that comes with\r
+emacs included. I use the below in my .emacs\r
+\r
+;enable gpg integration for transparent .gpg file decryption\r
+(require 'epa-file)\r
+(epa-file-enable)\r