diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-10-20 22:25:47 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2017-10-21 19:58:43 -0300 |
commit | c5356b9ed56e42d36ca18206155b62c94cfbd79d (patch) | |
tree | c5d5d836694f49027584a5e7a6d5e176fa46d4ae /doc/man1 | |
parent | 35456d4b0c89c3fa648fb6a879c5d275e04ff1c2 (diff) |
cli/insert: add --try-decrypt=(true|false)
Enable override of the index.try_decrypt setting on a per-message
basis when invoking "notmuch insert".
We also update the documentation and tab completion, and add more tests.
Diffstat (limited to 'doc/man1')
-rw-r--r-- | doc/man1/notmuch-insert.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/man1/notmuch-insert.rst b/doc/man1/notmuch-insert.rst index f83a7385..e2bf37d0 100644 --- a/doc/man1/notmuch-insert.rst +++ b/doc/man1/notmuch-insert.rst @@ -50,6 +50,20 @@ Supported options for **insert** include ``--no-hooks`` Prevent hooks from being run. + ``--try-decrypt=(true|false)`` + + If true and the message is encrypted, try to decrypt the + message while indexing. If decryption is successful, index + the cleartext itself. Either way, the message is always + stored to disk in its original form (ciphertext). Be aware + that the index is likely sufficient to reconstruct the + cleartext of the message itself, so please ensure that the + notmuch message index is adequately protected. DO NOT USE + ``--try-decrypt=true`` without considering the security of + your index. + + See also ``index.try_decrypt`` in **notmuch-config(1)**. + EXIT STATUS =========== |