From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 9EB32431FAF for ; Wed, 11 Apr 2012 09:58:43 -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 28uA8mNLDIBR for ; Wed, 11 Apr 2012 09:58:43 -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 EC012431FAE for ; Wed, 11 Apr 2012 09:58:42 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SI0sT-0001QD-1J for notmuch@notmuchmail.org; Wed, 11 Apr 2012 18:58:41 +0200 Received: from bauxite.int-evry.fr ([157.159.110.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Apr 2012 18:58:41 +0200 Received: from olivier.berger by bauxite.int-evry.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Apr 2012 18:58:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: Olivier Berger Subject: 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 18:58:29 +0200 Message-ID: <87sjgaciiy.fsf@inf-8657.int-evry.fr> References: <874nsqe28a.fsf@inf-8657.int-evry.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bauxite.int-evry.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:r2fGSt06xfaPot60wNlw9I55kjk= 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 16:58:44 -0000 Some more details : Olivier Berger writes: > Hi. > > Is there a way to decrypt multipart/encrypted messages in notmuch-emacs > ? > > I can only get a purple "Decryption error" message... > > The mail looks like : > > MIME-Version: 1.0 > Content-Type: multipart/encrypted; boundary="=-=-="; > protocol="application/pgp-encrypted" > > --=-=-= > Content-Type: application/pgp-encrypted > > Version: 1 > > --=-=-= > Content-Type: application/octet-stream > > > --=-=-=-- > > Note that gnus decrypts it without any problem. > I traced a bit what could be wrong and found out that it's not in the emacs part : $ notmuch show --decrypt "subject:whatever" [...] header{ olivier.berger@it-sudparis.eu (20 mins. ago) (encrypted) Subject: whatever From: olivier.berger@it-sudparis.eu To: whomever Date: Wed, 11 Apr 2012 18:32:23 +0200 header} body{ Failed to decrypt part: Canceled. part{ ID: 1, Content-type: multipart/encrypted part{ ID: 2, Filename: msg.asc, Content-type: application/pgp-encrypted Non-text part: application/pgp-encrypted part} part{ ID: 3, Content-type: application/octet-stream Non-text part: application/octet-stream part} part} body} message} Dunno what happens. Anyone else ? Thanks in advance. Best regards, -- 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)