unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Trouble decrypting multipart/encrypted
@ 2016-11-27 22:13 Eric Skoglund
  2016-11-28 11:57 ` David Bremner
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Skoglund @ 2016-11-27 22:13 UTC (permalink / raw)
  To: notmuch


Hello, I've recently started using notmuch (together with emacs) and
have now encountered some problems when trying to decrypt a
multipart/encrypted message.

The message body looks like:

body{

part{ ID: 1, Content-type: multipart/encrypted

part{ ID: 2, Content-type: application/pgp-encrypted
Non-text part: application/pgp-encrypted

part}

part{ ID: 3, Filename: encrypted.asc, Content-type: application/octet-stream
Non-text part: application/octet-stream

part}

part}

body}

And when running the command notmuch show --decrypt id:<message-id> I
get the error 'Failed to decrypt part: Canceled.'.

I've verified that gpg-agent is running (v2.1.13), both using ps which
gives me: gpg-agent --homedir /home/eric/.gnupg --use-standard-socket
--daemon and the gpg-connect-agent /bye return code is 0.

I also tried to add the use-agent in gpg.conf but that hasn't helped at
all.

Signing and encrypting email via C-c C-m s p and C-c C-m c p works
fine. And given that it doesn't work outside of emacs I don't think it
is an emacs problem. I'm also able to decrypt the message via the
command line using just gpg.

Gpg2 version: 2.1.13

I'm running fedora 24 with gnome if that helps.

Any input on how to solve this issue is greatly appriciated.

Regards,
Eric

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-12-03  8:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-27 22:13 Trouble decrypting multipart/encrypted Eric Skoglund
2016-11-28 11:57 ` David Bremner
2016-11-28 17:37   ` Eric Skoglund
2016-11-28 18:56     ` David Bremner
2016-11-29  5:40       ` Eric Skoglund
2016-11-29 14:34         ` David Bremner
2016-11-29 17:43           ` Eric Skoglund
2016-12-03  1:54             ` David Bremner
2016-12-03  8:38               ` Tomi Ollila

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).