<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/corpora, branch 0.38</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.38</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.38'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2023-04-02T22:24:43Z</updated>
<entry>
<title>lib: index attachments with mime types matching index.as_text</title>
<updated>2023-04-02T22:24:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-01-06T00:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a554690d6af0ac8cb55166a20efd0f449abde389'/>
<id>urn:sha1:a554690d6af0ac8cb55166a20efd0f449abde389</id>
<content type='text'>
Instead of skipping indexing all attachments, we check of a (user
configured) mime type that is indexable as text.
</content>
</entry>
<entry>
<title>test: replace aging OpenPGP key used in the test suite</title>
<updated>2022-09-23T23:16:00Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@sequoia-pgp.org</email>
</author>
<published>2022-09-22T08:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bf8aa34324cc91a530b0b12f833f106c939f7d84'/>
<id>urn:sha1:bf8aa34324cc91a530b0b12f833f106c939f7d84</id>
<content type='text'>
This replaces the old OpenPGPv4 key that is used in the test suite
with a more modern OpenPGPv4 key.  All cryptographic artifacts in the
test suite are updated accordingly.

Having old cryptographic artifacts in the test suite presents a
problem once the old algorithms are rejected by contemporary
implementations.

For reference, this is the old key.

  sec   rsa1024 2011-02-05 [SC]
        5AEAB11F5E33DCE875DDB75B6D92612D94E46381
  uid           [ unknown] Notmuch Test Suite &lt;test_suite@notmuchmail.org&gt; (INSECURE!)
  ssb   rsa1024 2011-02-05 [E]

And this is the new key.  Note that is has the same shape, but uses
Ed25519 and Cv25519 instead of 1024-bit RSA.

  sec   ed25519 2022-09-07 [SC]
        9A3AFE6C60065A148FD4B58A7E6ABE924645CC60
  uid           [ultimate] Notmuch Test Suite (INSECURE!) &lt;test_suite@notmuchmail.org&gt;
  ssb   cv25519 2022-09-07 [E]
</content>
</entry>
<entry>
<title>test: add known broken test for indexing text/* attachments</title>
<updated>2022-09-03T12:06:08Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-08-20T18:50:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8eabd6388ecb7bea8246a9ba6943a0432d23406e'/>
<id>urn:sha1:8eabd6388ecb7bea8246a9ba6943a0432d23406e</id>
<content type='text'>
The general problem of indexing attachments requires some help to turn
things into text, but (most?) text/* should be doable internally,
possibly with optimizations as for the text/html case.
</content>
</entry>
<entry>
<title>test: rename indexing corpus</title>
<updated>2022-09-03T12:05:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-08-20T18:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a832f940e10dee79029556c002b522daadb07d74'/>
<id>urn:sha1:a832f940e10dee79029556c002b522daadb07d74</id>
<content type='text'>
The corpus is not really suitable for general indexing test since the
sole message is ignored (and will most likely continue to be ignored)
by notmuch-new.
</content>
</entry>
<entry>
<title>test: add new corpus of duplicate messages</title>
<updated>2022-07-05T10:05:49Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-07-01T21:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bf9e206925a892adecfaf31b48b14d024885b806'/>
<id>urn:sha1:bf9e206925a892adecfaf31b48b14d024885b806</id>
<content type='text'>
This corpus will be used to test a new --duplicate option for notmuch-show
</content>
</entry>
<entry>
<title>test: make T450 independent of application/octet-stream interpretation</title>
<updated>2022-05-29T10:23:32Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2022-05-26T16:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=aec72e5806bb3103fdc0b30e5edcac8158dc67a6'/>
<id>urn:sha1:aec72e5806bb3103fdc0b30e5edcac8158dc67a6</id>
<content type='text'>
The actual content type of `application/octet-stream` is up to content
type detection of the reader, and thus may not be stable across
implementations or versions. This showed up when

fd46fc19 ("emacs:  document/defcustom notmuch-multipart/alternative-discouraged", 2022-05-14)

introduced a test for omitting a part of type `text/html` because it
expected a part of type `application/octet-stream` to remain in place,
i.e. a part of "unstable type". In particular, tests with `fd46fc19`
would succeed on RHEL/EPEL but fail on all current Fedoras with

```
 FAIL   multipart/alternative hides html by default
	--- T450-emacs-show.16.notmuch-show-multipart-alternative	2022-05-26 15:34:42.100557244 +0000
	+++ T450-emacs-show.16.OUTPUT	2022-05-26 15:34:42.102557207 +0000
	@@ -24,7 +24,7 @@
	 uses 64 as the
	 buffer size.
	 [ text/html (hidden) ]
	-[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-diff) ]
	+[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-patch) ]
	 From e3bc4bbd7b9d0d086816ab5f8f2d6ffea1dd3ea4 Mon Sep 17 00:00:00 2001
	 From: Alexander Botero-Lowry &lt;alex.boterolowry@gmail.com&gt;
	 Date: Tue, 17 Nov 2009 11:30:39 -0800
```

due to the different type detected.

Fix this by giving that message a specicific type of `text/x-diff` in
the test corpus, and adjust all affected test outputs.

Signed-off-by: Michael J Gruber &lt;git@grubix.eu&gt;
Amended-by: db, fix some trailing whitespace
</content>
</entry>
<entry>
<title>test: start corpus for attachments</title>
<updated>2022-05-16T10:10:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-03-19T10:07:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b884d7e2f5bebdc8b1c2a3c8bd4e16fccb92e39c'/>
<id>urn:sha1:b884d7e2f5bebdc8b1c2a3c8bd4e16fccb92e39c</id>
<content type='text'>
Initially these are to test the emacs frontend.
</content>
</entry>
<entry>
<title>test: start new corpus of test messages for indexing code</title>
<updated>2022-02-20T00:14:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-05T19:52:10Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=190d8a77114993f7eede09c9346fbd3c8f16810e'/>
<id>urn:sha1:190d8a77114993f7eede09c9346fbd3c8f16810e</id>
<content type='text'>
This particular message is not recognized by notmuch as mail, but is
fine according to e.g. mutt. The trigger for this bad behaviour seems
to be a second "From " ocurring at the beginning of the line but
inside an attachment.
</content>
</entry>
<entry>
<title>test/crypto: test message with rfc822 attachment.</title>
<updated>2021-08-30T23:24:59Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-07-03T20:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e1c56f49deb71a9a1b419331a5df38ce3cb4fb4a'/>
<id>urn:sha1:e1c56f49deb71a9a1b419331a5df38ce3cb4fb4a</id>
<content type='text'>
This is intended to help track down a display problem in the emacs
front end
</content>
</entry>
<entry>
<title>tests/smime: add tests for S/MIME SignedData</title>
<updated>2020-04-30T20:57:26Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2020-04-28T18:57:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b1a04bddc27c80411cf1ca148b3c33720bc8e785'/>
<id>urn:sha1:b1a04bddc27c80411cf1ca148b3c33720bc8e785</id>
<content type='text'>
Add a simple S/MIME SignedData message, taken from an upcoming draft
of
https://datatracker.ietf.org/doc/draft-autocrypt-lamps-protected-headers/

RFC 8551 describes a SignedData, a one-part clearsigned object that is
more resistant to common patterns of MTA message munging than
multipart/signed (but has the downside that it is only readable by
clients that implement S/MIME).

To make sure sure notmuch can handle this kind of object, we want to
know a few things:

Already working:

 - Is the content of the SignedData object indexed?  It actually is
   right now because of dumb luck -- i think we're indexing the raw
   CMS object and it happens to contain the cleartext of the message
   in a way that we can consume it before passing it on to Xapian.
 - Are we accidentally indexing the embedded PKCS#7 certificates? We
   don't want to, and for some reason I don't understand, our indexing
   is actually skipping the embedded certificates already.  That's
   good!

Still need fixing:
 - do we know the MIME type of the embedded part?
 - do we know that the message is signed?
 - can notmuch-show read its content?
 - can notmuch-show indicate the signature validity?
 - can notmuch-reply properly quote and attribute content?

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
</feed>
