<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse2/poc, branch arti-v2.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-27T12:43:10Z</updated>
<entry>
<title>tor-netdoc: introduce VoteStatusConsensus and VoteStatusVote</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T20:00:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=785e7cd9676de48a9102bf314aa11f29b9972717'/>
<id>urn:sha1:785e7cd9676de48a9102bf314aa11f29b9972717</id>
<content type='text'>
Replacing poc's.  The new define_fixed_string macro is really helping
here.
</content>
</entry>
<entry>
<title>tor-netdoc: NetworkStatusVersionItem, replacing poc's tuple</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T20:20:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfa47db273bede961d4ac14426fb3e4c0c5f48a2'/>
<id>urn:sha1:bfa47db273bede961d4ac14426fb3e4c0c5f48a2</id>
<content type='text'>
Defining a struct gives us a place to hang the documentation, and
avoids an accidentally-exhaustive tuple.
</content>
</entry>
<entry>
<title>tor-netdoc: VarietyKeyword, replacing poc's flavour type</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T10:09:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f8919e69927bd5227755892c56ce623bec7f671'/>
<id>urn:sha1:1f8919e69927bd5227755892c56ce623bec7f671</id>
<content type='text'>
This is more code than the poc version but much of the extra is
documentation, and it seems much less magical this way.

We still need a handwritten parser for plain consensuses, sadly.
</content>
</entry>
<entry>
<title>tor-netdoc: Promote/adjust poc's NetworkStatusSignatures</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T11:26:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c4ed766e476cb029e48ac878a42cae04cb23a2e4'/>
<id>urn:sha1:c4ed766e476cb029e48ac878a42cae04cb23a2e4</id>
<content type='text'>
The order of arguments of poc's ns_type macro is different to that of
the real code.  This is very confusing!

However, the type is correct, once we've added the singleton signature
for votes.
</content>
</entry>
<entry>
<title>tor-netdoc: Replace poc's NddDirectoryFooter with new Footer</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-11T15:14:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9b87534fd9e1cbc1ff88e255217ef96fe36168c2'/>
<id>urn:sha1:9b87534fd9e1cbc1ff88e255217ef96fe36168c2</id>
<content type='text'>
This is the whole of the footer section, with docs, appropriate
derives, and so on.
</content>
</entry>
<entry>
<title>tor-netdoc: NetworkStatusVersion, replacing poc's with FixedString</title>
<updated>2026-05-27T12:43:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T19:33:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ae3016c5d8f2a8d1fed3beebb1af17d10b58c3d5'/>
<id>urn:sha1:ae3016c5d8f2a8d1fed3beebb1af17d10b58c3d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Apply deferred rustfmt churn</title>
<updated>2026-04-29T17:48:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-29T17:24:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1153b25ffc98ec8cddf61fc5c03f0a896587bce7'/>
<id>urn:sha1:1153b25ffc98ec8cddf61fc5c03f0a896587bce7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Fix signature of hash_slice_for_verification</title>
<updated>2026-04-29T17:48:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-29T16:30:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=038c01aa4ba8501b8d107a27ccfd577ccf3a4ac4'/>
<id>urn:sha1:038c01aa4ba8501b8d107a27ccfd577ccf3a4ac4</id>
<content type='text'>
In order to handle marked vs unmarked SHA1 correctly, it needs the
original DigestAlgoInSignature.

The only call site is in poc's verification code.
</content>
</entry>
<entry>
<title>tor-netdoc: Abolish poc's netstatus signature type</title>
<updated>2026-04-29T17:48:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-29T16:15:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f33cdcf44c4654e7043f7e93baa05eb7318ab005'/>
<id>urn:sha1:f33cdcf44c4654e7043f7e93baa05eb7318ab005</id>
<content type='text'>
Use prod's Signature instead.

This gets rid of:

 * The old parsing code.  We have a new approach based on
   ItemValueParseable, KeywordOrString and and DigestAlgoInSignature.

 * The duplicate DirectorySignaturesHashesAccu and its temporary conversions.

poc's verify_timeless function needs a little adjustment for the new
struct layout.
</content>
</entry>
<entry>
<title>tor-netdoc: Promote hash_slice_for_verification to prod</title>
<updated>2026-04-29T16:40:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-29T16:15:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8bcf8d44f085f268ae21c1c69cb1cf026dd27dee'/>
<id>urn:sha1:8bcf8d44f085f268ae21c1c69cb1cf026dd27dee</id>
<content type='text'>
This function is not right, yet.  We're going to fix it later.

Review with --color-moved.
</content>
</entry>
</feed>
