notmuch/test/corpora
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
..
broken test: two new messages for the 'broken' corpus 2018-04-20 11:23:31 -03:00
crypto emacs: test notmuch-show during message decryption 2019-05-10 06:54:50 -03:00
default test: make it possible to have multiple corpora 2016-09-17 08:39:34 -03:00
html test: add known broken test for indexing html 2017-04-20 06:59:40 -03:00
lkml/cur test: add 'lkml' corpus 2017-04-13 21:55:43 -03:00
protected-headers test: protected headers should work when both encrypted and signed. 2019-05-29 08:14:57 -03:00
threading test: add known broken test for good In-Reply-To / bad References 2018-09-06 08:07:13 -03:00
README test/corpora: add an encrypted message for index decryption tests 2017-12-04 21:53:05 -04:00

This directory contains email corpora for testing.

default
  The default corpus is based on about 50 messages from early in the
  history of the notmuch mailing list, which allows for reliably
  testing commands that need to operate on a not-totally-trivial
  number of messages.

broken
  The broken corpus contains messages that are broken and/or RFC
  non-compliant, ensuring we deal with them in a sane way.

html
  The html corpus contains html parts

crypto
  The crypto corpus contains encrypted messages for testing.
  It should probably also contain signed messages in the future.
  Please add them!