unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jameson Graef Rollins <jrollins@finestructure.net>
To: notmuch@notmuchmail.org
Subject: Re: OpenPGP support
Date: Thu, 26 Nov 2009 13:31:05 -0500	[thread overview]
Message-ID: <20091126183105.GA8745@finestructure.net> (raw)
In-Reply-To: <87iqcxkbla.fsf@linux.vnet.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]

On Thu, Nov 26, 2009 at 12:38:01PM +0530, Aneesh Kumar K. V wrote:
> message-mode can sign the message using C-c RET C-s
> which is mml-secure-message-sign

Thanks so much, Aneesh!  That's great.  I was not aware of those
abilities in mml mode.  I just noticed that epa-mail-{sign,encrypt}
can do this as well, but much less cleanly.  So the mml commands are
exactly what I was looking for.  Well, at least exactly *half* of what
I was looking for...

So the issue now is verifying/decrypting signed/encrypted received
mail.  Playing around with it a bit more, I've found a couple of
interesting things.  If I'm viewing an encrypted message with
notmuch-show, and if I type 'v' (notmuch-show-view-all-mime-parts), I
get the full message view, and then a prompt to:

Decrypt (PGP) part? (y or n)

Typing 'y', I see that there is some communication with my gpg agent
(I get a gpg agent password prompt), but then once the password is
entered, nothing happens, ie. I don't see the decrypted part.  I'm
trying to figure out where the problem is here.  Presumably something
is failing to capture the output of the gpg decryption.  I'm not clear
either about what mode is trying to do this decryption.  Is this epa?

Unfortunately nothing at all happens when I hit 'v' when viewing a
message that has OpenPGP signature attachment.

I also just discovered that there are some
epa-mail-{sign,verify,{de,en}crypt} commands that work similar to (but
not as cleanly as) the mml commands.  Unfortunately none of this is
very coherent.  And some sort of integration with notmuch-show would
be sweet.

jamie.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2009-11-26 18:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 13:00 OpenPGP support Jameson Graef Rollins
2009-11-26  6:01 ` Jameson Graef Rollins
2009-11-26  7:08   ` Aneesh Kumar K. V
2009-11-26 18:31     ` Jameson Graef Rollins [this message]
2009-11-26 19:12       ` Carl Worth
2010-01-08  2:56   ` indexing encrypted messages (was: OpenPGP support) martin f krafft
2010-01-08  8:09     ` Mike Hommey
2010-01-08  9:12       ` martin f krafft
2010-01-08  9:21     ` Ruben Pollan
2010-01-08 10:24       ` martin f krafft
2010-01-08 19:41       ` micah anderson
2010-01-10 12:42         ` Ruben Pollan
2010-01-08 10:37     ` James Westby
2010-01-14 10:03       ` Olly Betts
2009-11-26 18:41 ` OpenPGP support Carl Worth
2009-11-26 23:01   ` Keith Packard
2009-11-28  4:06     ` Carl Worth
2009-11-29 19:44   ` Jameson Graef Rollins

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=20091126183105.GA8745@finestructure.net \
    --to=jrollins@finestructure.net \
    --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).