]> git.notmuchmail.org Git - notmuch/commit
test: reply (in cli and emacs) should protect indexed sensitive headers
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 26 May 2019 22:16:09 +0000 (18:16 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 29 May 2019 11:17:20 +0000 (08:17 -0300)
commit06dedd0a8365ee4b71f730651e00b1098369f9b9
treea0ea08d0e4f6a072187ef1c70c8abf73188f1a2e
parentcd8006886b1c80ff556a96f1e84e3d3914067a54
test: reply (in cli and emacs) should protect indexed sensitive headers

These tests are currently broken!  When a protected subject is indexed
in the clear, it leaks in the reply headers :(

For emacs, we set up separate tests for when the protected header is
indexed in the clear and when it is unindexed.  neither case should
leak, but the former wasn't tested yet.

We will fix the two broken tests in a subsequent patch.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
test/T356-protected-headers.sh
test/T358-emacs-protected-headers.sh