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 AE99A431FAF for ; Wed, 11 Apr 2012 13:46:39 -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 po4u4b4mK27Q for ; Wed, 11 Apr 2012 13:46:39 -0700 (PDT) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id ED8E2431FAE for ; Wed, 11 Apr 2012 13:46:38 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SI4R3-00020n-MW for notmuch@notmuchmail.org; Wed, 11 Apr 2012 22:46:37 +0200 Received: from mag77-1-82-238-14-130.fbx.proxad.net ([82.238.14.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Apr 2012 22:46:37 +0200 Received: from olivier.berger by mag77-1-82-238-14-130.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Apr 2012 22:46:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: Olivier Berger Subject: Re: Notmuch not able to decrypt some GPG multipart/encrypted emails - Was: Re: How to decrypt multipart/encrypted parts in notmuch-emacs Date: Wed, 11 Apr 2012 22:46:23 +0200 Lines: 47 Message-ID: <87mx6ingio.fsf@inf-8657.int-evry.fr> References: <874nsqe28a.fsf@inf-8657.int-evry.fr> <87sjgaciiy.fsf@inf-8657.int-evry.fr> <4F85BAC9.9020001@fifthhorseman.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mag77-1-82-238-14-130.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:X0qlDd2TqkjH78pOWDtiTZ1M2nM= 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 20:46:39 -0000 Hi. Daniel Kahn Gillmor writes: > On 04/11/2012 12:58 PM, Olivier Berger wrote: >> >> Dunno what happens. Anyone else ? > > Are you running gpg-agent? > I wasn't, but was using gnome's keyring daemon instead. I have added 'use_agent' back in my ~/.gnupg/gpg.conf, rebooted and can now see gpg-agent running, and all seems much better. > what do you get if you do: > > gpg-connect-agent /bye > > (please include the return code)? > Works now, with $? == 0. > if you are running on a debian or debian-derived system, do you have the > gnupg-agent package installed? > > --dkg > Thanks for these hints : notmuch show --decrypt works now. Thanks for your help. Best regards, P.S.: I have a somewhat special gpg setup, cause I'm wrapping it with a script which tests its options and eventually add necessary bits to access a crypted FS on a usb key... some that may have created some of a mess in my GPG agent config :-/ -- Olivier BERGER http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 Ingenieur Recherche - Dept INF Institut Mines-Telecom, Telecom SudParis, Evry (France)