emacs: Add support for PGP/MIME verification/decryption
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 26 May 2011 01:01:19 +0000 (18:01 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 27 May 2011 23:22:00 +0000 (16:22 -0700)
commit45fe3547458e0c403f7501bad89860afe2fa534a
tree0862259ff3ba05f0ea28ce984d47ec32b33895de
parent2e653db38fc38dee92b2ee0564e27921132e7232
emacs: Add support for PGP/MIME verification/decryption

A new emacs configuration variable "notmuch-crypto-process-mime"
controls the processing of PGP/MIME signatures and encrypted parts.
When this is set true, notmuch-query will use the notmuch show
--decrypt flag to decrypt encrypted messages and/or calculate the
sigstatus of signed messages.  If sigstatus is available, notmuch-show
will place a specially color-coded header at the begining of the
signed message.

Also included is the ability to switch decryption/verification on/off
on the fly, which is bound to M-RET in notmuch-search-mode.
emacs/Makefile.local
emacs/notmuch-crypto.el [new file with mode: 0644]
emacs/notmuch-lib.el
emacs/notmuch-mua.el
emacs/notmuch-query.el
emacs/notmuch-show.el
emacs/notmuch.el