]> git.cworth.org Git - notmuch/commit
cli/show: use decryption policy "auto" by default.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 8 Dec 2017 06:23:55 +0000 (01:23 -0500)
committerDavid Bremner <david@tethera.net>
Fri, 8 Dec 2017 12:08:46 +0000 (08:08 -0400)
commita1260896f6b2beb82f46c41663f00cb42a4c5ce7
tree58ee2b185f4c3fa98b865ceab204128827ec8ae9
parent6802b333eb356fdeafd97a4e4ed74999d055a852
cli/show: use decryption policy "auto" by default.

When showing a message, if the user doesn't specify --decrypt= at all,
but a stashed session key is known to notmuch, notmuch should just go
ahead and try to decrypt the message with the session key (without
bothering the user for access to their asymmetric secret key).

The user can disable this at the command line with --decrypt=false if
they really don't want to look at the e-mail that they've asked
notmuch to show them.

and of course, "notmuch show --decrypt" still works for accessing the
user's secret keys if necessary.
completion/notmuch-completion.bash
doc/man1/notmuch-show.rst
notmuch-show.c
test/T357-index-decryption.sh