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