<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse2/poc/test.rs, branch arti-v2.3.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-04-08T11:54:34Z</updated>
<entry>
<title>tor-netdoc: Fix broken poc tests</title>
<updated>2026-04-08T11:54:34Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-04-08T11:54:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ffe5b9a3a16a8fe413e24bb2399492346ad4eaf2'/>
<id>urn:sha1:ffe5b9a3a16a8fe413e24bb2399492346ad4eaf2</id>
<content type='text'>
These tests got broken due to the replacement of the testdata.

The changes required to make them work again were trivial, namely to
increase a timestamp by two hours in a consensus, as the new consensus
has a `valid-after 2000-01-01 00:02:20` followed by a fingerprint
replacement for a directory authority because the authority identity
keys were obviously also rotated.
</content>
</entry>
<entry>
<title>tor-netdoc: Abolish poc::authcert</title>
<updated>2026-04-01T11:32:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-01T10:05:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=884df9a2f0184db8b0b8f4c784b4cb5843d50dc9'/>
<id>urn:sha1:884df9a2f0184db8b0b8f4c784b4cb5843d50dc9</id>
<content type='text'>
This was just some type aliases.  Put them in the poc files that used
them.  (These type aliases are undesirable but we aren't cleaning them
up because the whole of poc is destined for deletion.)
</content>
</entry>
<entry>
<title>tor-netdoc: Rename *Signed to *Unverified</title>
<updated>2026-03-03T18:56:01Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-03T18:46:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9018c73d34ca60c5f671eeafc540446864998941'/>
<id>urn:sha1:9018c73d34ca60c5f671eeafc540446864998941</id>
<content type='text'>
This was a weird name, and while working in this area it all seemed to
make the docs strange.

Rename it.  This is quite invasive!

In theory we could have the macros generate compatibility aliases, but
that seems quite complex.
</content>
</entry>
<entry>
<title>tor-netdoc: Abolish poc's AuthCert (rustfmt)</title>
<updated>2026-01-15T12:37:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-14T18:28:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f4a7ba859c45dcb995dbace328790d9f9e4d0193'/>
<id>urn:sha1:f4a7ba859c45dcb995dbace328790d9f9e4d0193</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Abolish poc's AuthCert</title>
<updated>2026-01-15T12:37:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-14T15:46:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=50e8eaa1f8f8012bc41ad4bfbffa15e3a97647d6'/>
<id>urn:sha1:50e8eaa1f8f8012bc41ad4bfbffa15e3a97647d6</id>
<content type='text'>
We can use the real AuthCert now that it implements the parse2 traits.

The verification function is still used by poc's netstatus code and by
a test case.

We must change the field names in a few places, because the real
AuthCert's struct field names are the keywords, whereas the poc's are
the key names.  (A shame that they're different!)
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Introduce ParseInput intermediate struct</title>
<updated>2025-11-18T17:06:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-22T14:04:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4403e10accacee2487df2db066fec7de807ac7e7'/>
<id>urn:sha1:4403e10accacee2487df2db066fec7de807ac7e7</id>
<content type='text'>
We're going to add options arguments, effectively, to the parsing
entrypoints.  To avoid a proliferation of entrypoints (eg,
parse_multiple_with_options), encapsulate the run-time input values in
this structure.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-netdoc: tests: Move vote parsing test to netstatus.rs</title>
<updated>2025-10-15T09:35:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-09T11:20:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6196067ceac0703253d0e83739ae3e60665f964f'/>
<id>urn:sha1:6196067ceac0703253d0e83739ae3e60665f964f</id>
<content type='text'>
This is a test of real document structs now, albeit that it still uses
one of the types from `poc`.
</content>
</entry>
<entry>
<title>tor-netdoc: impl Display for Fingerprint and Base64Fingerprint</title>
<updated>2025-10-08T11:27:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-06T15:06:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69df55bb8656a04f4c2b4bbd13868aff40aac648'/>
<id>urn:sha1:69df55bb8656a04f4c2b4bbd13868aff40aac648</id>
<content type='text'>
I'm going to want this as preparation for making these things properly
suitable for item arguments.

One test case in parse2::poc was relying on Display of the Deref to
RsaIdentity.
</content>
</entry>
<entry>
<title>netdoc parse2: poc: Make test functions throw anyhow::Result</title>
<updated>2025-09-29T12:58:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-09-04T10:05:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=14e0953b87e7ea1992a978ae65fb682db1c23f0e'/>
<id>urn:sha1:14e0953b87e7ea1992a978ae65fb682db1c23f0e</id>
<content type='text'>
For reasons, TestResult doesn't print error sources.
</content>
</entry>
</feed>
