From: Olivier Berger <olivier.berger@it-sudparis.eu>
To: notmuch@notmuchmail.org
Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs
Date: Wed, 11 Apr 2012 22:50:47 +0200 [thread overview]
Message-ID: <87iph6ngbc.fsf@inf-8657.int-evry.fr> (raw)
In-Reply-To: 87vcl6gr1a.fsf@servo.finestructure.net
Hi.
Jameson Graef Rollins
<jrollins@finestructure.net> writes:
> On Wed, Apr 11 2012, Olivier Berger <olivier.berger@it-sudparis.eu> wrote:
>> Is there a way to decrypt multipart/encrypted messages in notmuch-emacs
>
> Hi, Olivier. Yes, it is possible.
>
>> I can only get a purple "Decryption error" message...
>
> The fact that you're getting this messages means that notmuch is
> attempting to decrypt the message, but there was a decryption problem.
>
> A typical problem is that gpg-agent is not running. Notmuch uses gnupg
> to decrypt, but it requires that gpg-agent be running to get the
> passphrase from the user. Do you have gpg-agent running?
>
Thanks for this suggestion.
As I've responded to Daniel Kahn Gillmor in another message, it seems
that I may have messed with my config, and gpg-agent may not have worked
properly.
That's now fixed, I think. See below.
>> The mail looks like :
>
> The format of the multipart/encrypted looks fine, so I see no problems
> there (assuming the encryption was done properly).
>
> You might also try decrypting the message on the command line, as that
> will take any emacs issues out of the loop:
>
> notmuch show --decrypt id:$msgid
>
That works now, but only on the command-line.
Still, in notmuch-emacs, I can still see the purple "Decryption error"
message :-/
Weird.
Any other ideas ?
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)
next prev parent reply other threads:[~2012-04-11 20:55 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 [this message]
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 ` Notmuch not able to decrypt some GPG multipart/encrypted emails - Was: " Olivier Berger
2012-04-11 17:09 ` 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=87iph6ngbc.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).