--- /dev/null
+Return-Path: <public@simonhirscher.de>\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 B7332431E84\r
+ for <notmuch@notmuchmail.org>; Wed, 4 Sep 2013 15:02:42 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.363\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.363 tagged_above=-999 required=5\r
+ tests=[RDNS_DYNAMIC=0.363, TO_NO_BRKTS_DYNIP=1] 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 3XSSG2Cx3GE0 for <notmuch@notmuchmail.org>;\r
+ Wed, 4 Sep 2013 15:02:38 -0700 (PDT)\r
+Received: from cloudia.org (lvps176-28-19-116.dedicated.hosteurope.de\r
+ [176.28.19.116])\r
+ (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id DFED0431E82\r
+ for <notmuch@notmuchmail.org>; Wed, 4 Sep 2013 15:02:37 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=mime-version:from:date:message-id:subject:to:content-type\r
+ :content-transfer-encoding;\r
+ bh=nUFMf91emxGZBi+k5mxPRnQgNnvKWzYpxhCJhxFl+80=;\r
+ b=R7GXI4S50iQ4F+XUqXcy21i81A13tlr/OLwlpMkFnR3p1W7x4UpvhTbBIFN+6IYJa7\r
+ QPiVLW2i/343Se8dzVe7GpAyTTJNd+aZpqQ15Si5/IMAsAQkUy+2pRVxO3Qux+rAehk7\r
+ 2eEV9WPTfrv2N6jajlvKkg20umzoR5gDYv6re4VygfJ4PN+8RV1z5eRVeUlE8Pwzwydh\r
+ LsGPltMNaAFMaqx0i5mSaiNDB4buwDGi+2BuZ8uvu+Aw7rGyaFX+qM5lgJJWxAI172u1\r
+ 5jvrmuMYRTq4Uvtbu5pks6R7qMhl+KmCTTVgkTofl82zWE8QVtQDZJj7aG322rTVWqaB\r
+ zLWA==\r
+X-Received: by 10.112.57.49 with SMTP id f17mr4229014lbq.26.1378332148626;\r
+ Wed, 04 Sep 2013 15:02:28 -0700 (PDT)\r
+MIME-Version: 1.0\r
+From: Simon Hirscher <public@simonhirscher.de>\r
+Date: Thu, 5 Sep 2013 00:01:58 +0200\r
+Message-ID:\r
+ <CAEj42wtt9O1-k9hm9DNCh7En=b-eDYQWham5-FR-wzrt+sij+g@mail.gmail.com>\r
+Subject: [BUG] Decryption fails if message was signed with an unknown key\r
+To: notmuch@notmuchmail.org\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+X-Mailman-Approved-At: Wed, 04 Sep 2013 22:55:50 -0700\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, 04 Sep 2013 22:02:42 -0000\r
+\r
+Dear notmuch developers,\r
+\r
+This is now the second time the following has happened to me:\r
+\r
+#########\r
+$ notmuch show --decrypt id:xyz@example.com\r
+\r
+message{ id:xyz@example.com depth:0 match:1 excluded:0 filename:/home/simon=\r
+/***\r
+\r
+header{\r
+John Doe <sender@example.com> (Today 21:52) (encrypted inbox new)\r
+Subject: foobar\r
+From: John Doe <sender@example.com>\r
+To: ***\r
+Date: Thu, 01 Jan 1970 00:00:00 +0000\r
+\r
+header}\r
+\r
+body{\r
+Failed to decrypt part: gpg: ASCII-H=C3=BClle: Version: GnuPG v2.0.17 (Ming=\r
+W32)\r
+gpg: <list of keys the message was encrypted with>\r
+gpg: AES256 encrypted data\r
+gpg: Original file name=3D''\r
+gpg: Signature from Thu 01 Jan 1970 00:00:00 UTC by DSA key ID <sender's ke=\r
+y>\r
+gpg: Signature cannot be verified. Public key not found\r
+\r
+part{ ID: 1, Content-type: multipart/encrypted\r
+\r
+part{ ID: 2, Content-type: application/pgp-encrypted\r
+Non-text part: application/pgp-encrypted\r
+\r
+part}\r
+\r
+part{ ID: 3, Filename: encrypted.asc, Content-type: application/octet-strea=\r
+m\r
+Non-text part: application/octet-stream\r
+\r
+part}\r
+\r
+part}\r
+\r
+body}\r
+\r
+message}\r
+\r
+$ gpg --recv-keys <sender's key>\r
+\r
+$ notmuch show --decrypt id:xyz@example.com\r
+\r
+[=E2=80=A6]\r
+Hey there,\r
+Now the decryption worked!\r
+[=E2=80=A6]\r
+\r
+############\r
+\r
+Also, I should add that manually decrypting the message with gpg (i.e.\r
+without using notmuch) already worked *before* I added the sender's\r
+key (not shown above). Still, notmuch obviously doesn't like it when\r
+the sender is unknown.\r
+\r
+I hope you're going to look into this. Thank you!\r