]> git.notmuchmail.org Git - notmuch/commit
Add decryption of PGP/MIME-encrypted parts with --decrypt.
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 26 May 2011 01:01:18 +0000 (18:01 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 27 May 2011 23:22:00 +0000 (16:22 -0700)
commit2e653db38fc38dee92b2ee0564e27921132e7232
treed8bdc5eca6bc2beb6949f375a2e6683b0136ffe6
parent8b18efe171ef80cbb238a9446137c39908755d2d
Add decryption of PGP/MIME-encrypted parts with --decrypt.

This adds support for decrypting PGP/MIME-encrypted parts to
notmuch-show and notmuch-reply.  The --decrypt option implies
--verify.  Once decryption (and possibly signature verification) is
done, a new part_encstatus formatter is emitted, the part_sigstatus
formatter is emitted, and the entire multipart/encrypted part is
replaced by the contents of the encrypted part.

At the moment only a json part_encstatus formatting function is
available, even though decryption is done for all formats.  Emacs
support to follow.
notmuch-client.h
notmuch-reply.c
notmuch-show.c
notmuch.1
notmuch.c
show-message.c