unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Olivier Berger <olivier.berger@it-sudparis.eu>
To: notmuch@notmuchmail.org
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	[thread overview]
Message-ID: <87sjgaciiy.fsf@inf-8657.int-evry.fr> (raw)
In-Reply-To: 874nsqe28a.fsf@inf-8657.int-evry.fr


Some more details :

Olivier Berger <olivier.berger@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@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)

  parent reply	other threads:[~2012-04-11 16:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11 15:07 How to decrypt multipart/encrypted parts in notmuch-emacs Olivier Berger
2012-04-11 16:41 ` Jameson Graef Rollins
2012-04-11 20:50   ` Olivier Berger
2012-04-11 21:02     ` Olivier Berger
2012-04-11 21:09       ` Daniel Kahn Gillmor
2012-04-11 21:14     ` Jameson Graef Rollins
2012-04-11 16:58 ` Olivier Berger [this message]
2012-04-11 17:09   ` Notmuch not able to decrypt some GPG multipart/encrypted emails - Was: " Daniel Kahn Gillmor
2012-04-11 20:46     ` Olivier Berger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sjgaciiy.fsf@inf-8657.int-evry.fr \
    --to=olivier.berger@it-sudparis.eu \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).