]> git.notmuchmail.org Git - notmuch/commit
cli/new, insert, reindex: change index.decrypt to "auto" by default
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 8 Dec 2017 06:23:59 +0000 (01:23 -0500)
committerDavid Bremner <david@tethera.net>
Fri, 8 Dec 2017 12:08:46 +0000 (08:08 -0400)
commit076f86025d519522cde5787def6c03fc308e8ebc
treec70e0281aa8621054870c108c047881cec02fad3
parentd137170b23f8ccd9f967445e101d6f694df1cad4
cli/new, insert, reindex: change index.decrypt to "auto" by default

The new "auto" decryption policy is not only good for "notmuch show"
and "notmuch reindex".  It's also useful for indexing messages --
there's no good reason to not try to go ahead and index the cleartext
of a message that we have a stashed session key for.

This change updates the defaults and tunes the test suite to make sure
that they have taken effect.
doc/man1/notmuch-config.rst
lib/indexopts.c
test/T357-index-decryption.sh