notmuch/test/corpora/protected-headers
Daniel Kahn Gillmor b36248a26e test: protected headers should work when both encrypted and signed.
Up to this point, we've tested protected headers on messages that have
either been encrypted or signed, but not both.

This adds a couple tests of signed+encrypted messages, one where the
subject line is masked (outside subject line is "Subject Unavailable")
and another where it is not (outside Subject: matches inner Subject:)

See the discussion at
https://dkg.fifthhorseman.net/blog/e-mail-cryptography.html#protected-headers
for more details about the nuances between signed, stripped, and
stubbed headers.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-05-29 08:14:57 -03:00
..
double-wrapped-with-phony-protected-header.eml cli/show: add tests for viewing protected headers 2019-05-29 08:04:32 -03:00
encrypted-signed-not-masked.eml test: protected headers should work when both encrypted and signed. 2019-05-29 08:14:57 -03:00
encrypted-signed.eml test: protected headers should work when both encrypted and signed. 2019-05-29 08:14:57 -03:00
misplaced-protected-header.eml cli/show: add tests for viewing protected headers 2019-05-29 08:04:32 -03:00
nested-rfc822-message.eml cli/show: add tests for viewing protected headers 2019-05-29 08:04:32 -03:00
no-protected-header-attribute.eml cli/show: add tests for viewing protected headers 2019-05-29 08:04:32 -03:00
phony-protected-header-bad-encryption.eml cli/show: add tests for viewing protected headers 2019-05-29 08:04:32 -03:00
protected-header.eml cli/show: add tests for viewing protected headers 2019-05-29 08:04:32 -03:00
signed-protected-header.eml test: show cryptographic envelope information for signed mails 2019-05-29 08:13:06 -03:00
simple-signed-mail.eml test: show cryptographic envelope information for signed mails 2019-05-29 08:13:06 -03:00
subjectless-protected-header.eml test: add test for missing external subject 2019-05-29 08:12:49 -03:00
wrapped-protected-header.eml cli/show: add tests for viewing protected headers 2019-05-29 08:04:32 -03:00