--- /dev/null
+Return-Path: <gmn-notmuch@m.gmane.org>\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 9EB32431FAF\r
+ for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 09:58:43 -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 28uA8mNLDIBR for <notmuch@notmuchmail.org>;\r
+ Wed, 11 Apr 2012 09:58:43 -0700 (PDT)\r
+Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
+ (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id EC012431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 09:58:42 -0700 (PDT)\r
+Received: from list by plane.gmane.org with local (Exim 4.69)\r
+ (envelope-from <gmn-notmuch@m.gmane.org>) id 1SI0sT-0001QD-1J\r
+ for notmuch@notmuchmail.org; Wed, 11 Apr 2012 18:58:41 +0200\r
+Received: from bauxite.int-evry.fr ([157.159.110.64])\r
+ by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
+ id 1AlnuQ-0007hv-00\r
+ for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 18:58:41 +0200\r
+Received: from olivier.berger by bauxite.int-evry.fr with local (Gmexim 0.1\r
+ (Debian)) id 1AlnuQ-0007hv-00\r
+ for <notmuch@notmuchmail.org>; Wed, 11 Apr 2012 18:58:41 +0200\r
+X-Injected-Via-Gmane: http://gmane.org/\r
+To: notmuch@notmuchmail.org\r
+From: Olivier Berger <olivier.berger@it-sudparis.eu>\r
+Subject: Notmuch not able to decrypt some GPG multipart/encrypted emails -\r
+ Was: Re: How to decrypt multipart/encrypted parts in notmuch-emacs\r
+Date: Wed, 11 Apr 2012 18:58:29 +0200\r
+Lines: 82\r
+Message-ID: <87sjgaciiy.fsf@inf-8657.int-evry.fr>\r
+References: <874nsqe28a.fsf@inf-8657.int-evry.fr>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-Complaints-To: usenet@dough.gmane.org\r
+X-Gmane-NNTP-Posting-Host: bauxite.int-evry.fr\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)\r
+Cancel-Lock: sha1:r2fGSt06xfaPot60wNlw9I55kjk=\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\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 16:58:44 -0000\r
+\r
+\r
+Some more details :\r
+\r
+Olivier Berger <olivier.berger@it-sudparis.eu>\r
+writes:\r
+\r
+> Hi.\r
+>\r
+> Is there a way to decrypt multipart/encrypted messages in notmuch-emacs\r
+> ?\r
+>\r
+> I can only get a purple "Decryption error" message...\r
+>\r
+> The mail looks like :\r
+>\r
+> MIME-Version: 1.0\r
+> Content-Type: multipart/encrypted; boundary="=-=-=";\r
+> protocol="application/pgp-encrypted"\r
+>\r
+> --=-=-=\r
+> Content-Type: application/pgp-encrypted\r
+>\r
+> Version: 1\r
+>\r
+> --=-=-=\r
+> Content-Type: application/octet-stream\r
+>\r
+>\r
+> --=-=-=--\r
+>\r
+> Note that gnus decrypts it without any problem.\r
+>\r
+\r
+I traced a bit what could be wrong and found out that it's not in the\r
+emacs part :\r
+\r
+$ notmuch show --decrypt "subject:whatever"\r
+\r
+[...]\r
+\r
+header{\r
+olivier.berger@it-sudparis.eu (20 mins. ago) (encrypted)\r
+Subject: whatever\r
+From: olivier.berger@it-sudparis.eu\r
+To: whomever\r
+Date: Wed, 11 Apr 2012 18:32:23 +0200\r
+\r
+header}\r
+\r
+body{\r
+Failed to decrypt part: Canceled.\r
+\r
+part{ ID: 1, Content-type: multipart/encrypted\r
+\r
+part{ ID: 2, Filename: msg.asc, Content-type: application/pgp-encrypted\r
+Non-text part: application/pgp-encrypted\r
+\r
+part}\r
+\r
+part{ ID: 3, Content-type: application/octet-stream\r
+Non-text part: application/octet-stream\r
+\r
+part}\r
+\r
+part}\r
+\r
+body}\r
+\r
+message}\r
+\r
+\r
+Dunno what happens. Anyone else ?\r
+\r
+Thanks in advance.\r
+\r
+Best regards,\r
+\r
+-- \r
+Olivier BERGER \r
+http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8\r
+Ingenieur Recherche - Dept INF\r
+Institut Mines-Telecom, Telecom SudParis, Evry (France)\r
+\r