From: Jameson Graef Rollins <jrollins@finestructure.net>
To: Olivier Berger <olivier.berger@it-sudparis.eu>, notmuch@notmuchmail.org
Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs
Date: Wed, 11 Apr 2012 09:41:05 -0700 [thread overview]
Message-ID: <87vcl6gr1a.fsf@servo.finestructure.net> (raw)
In-Reply-To: <874nsqe28a.fsf@inf-8657.int-evry.fr>
[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]
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?
> 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
It might help to redirect stdout to /dev/null to make it easier to see
any gnupg error messages
I hope that helps. Let us know if you still can't figure it out, or if
you have other questions.
jamie.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2012-04-11 16:41 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 [this message]
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 ` 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=87vcl6gr1a.fsf@servo.finestructure.net \
--to=jrollins@finestructure.net \
--cc=notmuch@notmuchmail.org \
--cc=olivier.berger@it-sudparis.eu \
/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).