From fb459772057f0efb7e679a6c3edd965c94dc473c Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Thu, 12 Apr 2012 14:14:03 +1700 Subject: [PATCH] Re: How to decrypt multipart/encrypted parts in notmuch-emacs --- 4d/638b11cac32979412b4884431fd85627152a7a | 115 ++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 4d/638b11cac32979412b4884431fd85627152a7a diff --git a/4d/638b11cac32979412b4884431fd85627152a7a b/4d/638b11cac32979412b4884431fd85627152a7a new file mode 100644 index 000000000..b3493df49 --- /dev/null +++ b/4d/638b11cac32979412b4884431fd85627152a7a @@ -0,0 +1,115 @@ +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 16720431FAF + for ; Wed, 11 Apr 2012 14:14:13 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 neEcyxXTdDB5 for ; + Wed, 11 Apr 2012 14:14:12 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 6EF8E431FAE + for ; Wed, 11 Apr 2012 14:14:12 -0700 (PDT) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 0E39F32806F; + Wed, 11 Apr 2012 14:14:10 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (DHCP-123-229.caltech.edu [131.215.123.229]) + (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id 3E3BB3280A1; + Wed, 11 Apr 2012 14:14:07 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 08815183; Wed, 11 Apr 2012 14:14:07 -0700 (PDT) +From: Jameson Graef Rollins +To: Olivier Berger , notmuch@notmuchmail.org +Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs +In-Reply-To: <87iph6ngbc.fsf@inf-8657.int-evry.fr> +References: <874nsqe28a.fsf@inf-8657.int-evry.fr> + <87vcl6gr1a.fsf@servo.finestructure.net> + <87iph6ngbc.fsf@inf-8657.int-evry.fr> +User-Agent: Notmuch/0.12+108~g7bdb40c (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Wed, 11 Apr 2012 14:14:03 -0700 +Message-ID: <87ehrugeec.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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: Wed, 11 Apr 2012 21:14:13 -0000 + +--=-=-= + +On Wed, Apr 11 2012, Olivier Berger wrote: +> Thanks for this suggestion. +> +> As I've responded to Daniel Kahn Gillmor in another message, it seems +> that I may have messed with my config, and gpg-agent may not have worked +> properly. +> +> That's now fixed, I think. See below. + +That's great! I'm glad you got it working. + +On Wed, Apr 11 2012, Olivier Berger wrote: +> Oh, I've spotted why it fails. +> +> So : if I launch emacs (23) from bash running in gnome-terminal in my gnome +> (fallback) session, decryption works. +> +> If I use Alt+F2 to trigger gnome's launcher, and type emacs, then +> decryption won't work :-/ +> +> Both emacses run in X, but they don't have same ancestry, which may +> explain why agent connection runs or not ? +> +> Bug, feature ? + +I'm not sure what to say here, but it's almost certainly not a notmuch +issue. It sounds like it may be related to your fairly complicated gpg +setup. You might want to see what the GPG_AGENT_INFO environment +variable is in the two cases. + +In any event, I'm glad you've got it sort of working. Good luck! + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJPhfQbAAoJEO00zqvie6q8DFUP/2wsohGX1cQe1vUesYzo7mYZ +7u7A10ulYCmUzM1SoZ/cbQb+5mY1jD2lPasS7TatQrxAslbYx1/YAQFW5GyldK/I +ORxFDGaO1us4h57SQpoOHSi+gw6B5BY+zEiniKzvbhsYr5fhzwVaX2SChD20QT2a +MXFwprcqWyTArkP9MH/uPAnVhosalonWeQNvntYYlgdw4zn0c3jQE0PkpdmbGWAg +8ygbT0NbUtQRVoVuBPWzonIMzu5XDPdiv3Fh/THnqk1MXFntqifaI+cTPL2c7iab +hONnjhMv3EHP3Whe66IF19pAHHsLCYNWC8vDOUp13AwtUDYKNPoxtb3GPbPMihE5 +orRdL028N02rld1lFxL4s6Nm+2C/0kXbUeR4XcO/9vr7lG+2awiaIK5mw0/IcwJG +fwHc2zWbZa+tWWl11gvobHdq16qUOMS2DsfNjLrxMoU9TfMmbiXTX6GW23IQXemq +SOrwRJYhJhqu6tR0DwekXD/RflyHIVqzjwCXdDsQU2FDP9KQoukz96iK3/XLiFc9 +0RpwW08HNLwEFh0dAaaDG1g04ZVBOg8RChaG3lr6tv1Fo7eWfw7e9lF22SFYGjeK +w6rPo5/zs5KzRtITMClGmIs+HBgmRAEmCLZglyRxDXJQEVSZhbMylC55YDuXc34o +nDn7GvK+YnNKmksoHA6u +=tGrb +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2