Notmuch not able to decrypt some GPG multipart/encrypted emails - Was: Re: How to decrypt multipart/encrypted parts in notmuch-emacs
Olivier Berger
olivier.berger at it-sudparis.eu
Wed Apr 11 09:58:29 PDT 2012
Some more details :
Olivier Berger <olivier.berger at it-sudparis.eu>
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 at it-sudparis.eu (20 mins. ago) (encrypted)
Subject: whatever
From: olivier.berger at 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)
More information about the notmuch
mailing list