Re: How to decrypt multipart/encrypted parts in notmuch-emacs
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 11 Apr 2012 21:09:09 +0000 (17:09 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:16 +0000 (09:46 -0800)
e2/6ab101feddc735062d01d0b4a9fc4db33e2993 [new file with mode: 0644]

diff --git a/e2/6ab101feddc735062d01d0b4a9fc4db33e2993 b/e2/6ab101feddc735062d01d0b4a9fc4db33e2993
new file mode 100644 (file)
index 0000000..bc0409b
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <dkg@fifthhorseman.net>\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 DED13431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 14:09:18 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\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 shm83cYGNjXW for <notmuch@notmuchmail.org>;\r
+       Wed, 11 Apr 2012 14:09:17 -0700 (PDT)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+       by olra.theworths.org (Postfix) with ESMTP id 12B2D431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 14:09:17 -0700 (PDT)\r
+Received: from [192.168.23.207] (dsl254-070-154.nyc1.dsl.speakeasy.net\r
+       [216.254.70.154])\r
+       by che.mayfirst.org (Postfix) with ESMTPSA id B25B2F975;\r
+       Wed, 11 Apr 2012 17:09:14 -0400 (EDT)\r
+Message-ID: <4F85F2F5.6060307@fifthhorseman.net>\r
+Date: Wed, 11 Apr 2012 17:09:09 -0400\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; Linux i686;\r
+       rv:10.0.3) Gecko/20120329 Icedove/10.0.3\r
+MIME-Version: 1.0\r
+To: Olivier Berger <olivier.berger@it-sudparis.eu>\r
+Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs\r
+References: <874nsqe28a.fsf@inf-8657.int-evry.fr>\r
+       <87vcl6gr1a.fsf@servo.finestructure.net>\r
+       <87iph6ngbc.fsf@inf-8657.int-evry.fr>\r
+       <87iph6j81p.fsf@inf-8657.int-evry.fr>\r
+In-Reply-To: <87iph6j81p.fsf@inf-8657.int-evry.fr>\r
+X-Enigmail-Version: 1.4\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+       protocol="application/pgp-signature";\r
+       boundary="------------enig6C0CDAF272AAFCE7172A64AB"\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: notmuch <notmuch@notmuchmail.org>\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: Wed, 11 Apr 2012 21:09:19 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 2440 and 3156)\r
+--------------enig6C0CDAF272AAFCE7172A64AB\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 04/11/2012 05:02 PM, Olivier Berger wrote:\r
+> So : if I launch emacs (23) from bash running in gnome-terminal in my g=\r
+nome\r
+> (fallback) session, decryption works.\r
+>=20\r
+> If I use Alt+F2 to trigger gnome's launcher, and type emacs, then\r
+> decryption won't work :-/\r
+>=20\r
+> Both emacses run in X, but they don't have same ancestry, which may\r
+> explain why agent connection runs or not ?\r
+\r
+Can you try comparing their environments?\r
+\r
+Assuming you're using the Linux kernel, if the two emacsen have process\r
+IDs $PID0 and $PID1, then in bash you can do:\r
+\r
+diff -u \\r
+ <(tr '\0' '\n' < /proc/$PID0/environ | sort) \\r
+ <(tr '\0' '\n' < /proc/$PID1/environ | sort) \\r
+\r
+hth,\r
+\r
+       --dkg\r
+\r
+\r
+--------------enig6C0CDAF272AAFCE7172A64AB\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+Content-Disposition: attachment; filename="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\r
+\r
+iQJ8BAEBCgBmBQJPhfL1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w\r
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwRUU1QkU5NzkyODJEODBCOUY3NTQwRjFD\r
+Q0QyRUQ5NEQyMTczOUU5AAoJEMzS7ZTSFznpjUEP/iDWZCQBLkGjlUShHWPNeMrg\r
+d4DT83E3P681Vklo/4kkneKTP25TOoHk8EB7NP0UzGtKLH3qfqghXnEXDwH1z7k6\r
+1qqUFt6gEZni1svGPbmmn1kyW0QJCun3dgWQPgT8OtAnp925AGfUeUD/RdmrhIcr\r
+KJdeWMETtFdEqjaLj3zNCoaa3hbZMW73v62VZKjZD3Go01U5fC+CTc7eMgwG6XvP\r
+8eGa2oGj+PeOVXG8azUa7hvUNNE7Sp9WkVVs11QtrvOeAX9MipvPyEr5y0KOG0xZ\r
+6zqvxXxtVVEsKQNlEkOWuN6NXVToJYWnAAjr9Gczr0WHoimlEJXwuy/3FAd7kvJ5\r
+yw2VS7mmag3LpELFT7a3thUsH4MbnN55k+ZBCjRpEbS2sRhwpVOF/VLNioyWbiRb\r
+gh/IaI40lxZ2AsTZ77tJe6Qs9KubQY2Av9J0ih4mK1XzX6v2981oDyL8JISTTHYb\r
+KTXJ99IhqvimaSzlLf3cPGrtxFTdhSoTwWhzqQEuj3jUepI5gdJnBCk5HU5ZBmY9\r
+oYy7vI3bs0/pk1IONccp81m7vfJs915ZgKoEHrl/D8RMLTG+6Lw7XA74GrCkfaL4\r
+viJKk1hnmlN0hKVYRbfrMRvrNVcGM/lrrNiidmDZbDHEgux3L8X8/8wWnySr+yRD\r
+tKR0wKBWo0/K/gmeSNBf\r
+=2t3H\r
+-----END PGP SIGNATURE-----\r
+\r
+--------------enig6C0CDAF272AAFCE7172A64AB--\r