diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2011-05-25 18:01:18 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-05-27 16:22:00 -0700 |
commit | 2e653db38fc38dee92b2ee0564e27921132e7232 (patch) | |
tree | d8bdc5eca6bc2beb6949f375a2e6683b0136ffe6 /notmuch.c | |
parent | 8b18efe171ef80cbb238a9446137c39908755d2d (diff) |
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.
Diffstat (limited to 'notmuch.c')
-rw-r--r-- | notmuch.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -302,6 +302,14 @@ static command_t commands[] = { "\t\treported (currently only supported with --format=json) and\n" "\t\tthe multipart/signed part will be replaced by the signed data.\n" "\n" + "\t--decrypt\n" + "\n" + "\t\tDecrypt any MIME encrypted parts found in the selected content\n" + "\t\t(ie. \"multipart/encrypted\" parts). Status of the decryption\n" + "\t\twill be reported (currently only supported with --format=json)\n" + "\t\tand the multipart/encrypted part will be replaced by the\n" + "\t\tdecrypted content.\n" + "\n" "\n" "\tA common use of \"notmuch show\" is to display a single\n" "\tthread of email messages. For this, use a search term of\n" |