X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=doc%2Fman1%2Fnotmuch-new.rst;h=3ddd4621a3806c87bc2d54f2391033a6aeb04c92;hp=bc26aa4806a7e07400708a9f35b8f832009302be;hb=fccebbaeef1e4b6489425afb13f419543d53d285;hpb=7ac96b149f5a0e5c03b64856d7c20789dab3c628 diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst index bc26aa48..3ddd4621 100644 --- a/doc/man1/notmuch-new.rst +++ b/doc/man1/notmuch-new.rst @@ -43,17 +43,23 @@ Supported options for **new** include ``--quiet`` Do not print progress or results. - ``--try-decrypt=(true|false)`` - - If true, when encountering an encrypted message, try to - decrypt it while indexing. If decryption is successful, index - the cleartext itself. 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)**. + ``--decrypt=(true|nostash|auto|false)`` + + If ``true``, when encountering an encrypted message, try to + decrypt it while indexing, and stash any discovered session + keys. If ``auto``, try to use any session key already known + to belong to this message, but do not attempt to use the + user's secret keys. If decryption is successful, index the + cleartext of the message. + + Be aware that the index is likely sufficient (and the session + key is certainly sufficient) to reconstruct the cleartext of + the message itself, so please ensure that the notmuch message + index is adequately protected. DO NOT USE ``--decrypt=true`` + or ``--decrypt=nostash`` without considering the security of + your index. + + See also ``index.decrypt`` in **notmuch-config(1)**. EXIT STATUS ===========