<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse2/impls.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-04-23T09:35:08Z</updated>
<entry>
<title>tor-netdoc: Un-gate parse2 and encode core</title>
<updated>2026-04-23T09:35:08Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-22T11:44:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eba314abbfb3e4ec685bee4f3c31131b66f28792'/>
<id>urn:sha1:eba314abbfb3e4ec685bee4f3c31131b66f28792</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Move raw_data_object to new container module</title>
<updated>2026-04-01T11:18:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-26T12:23:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=178293033011d1cb7f3ce471d652dd15e5d831c0'/>
<id>urn:sha1:178293033011d1cb7f3ce471d652dd15e5d831c0</id>
<content type='text'>
This will allow us to use it for encoding as well as parsing.
</content>
</entry>
<entry>
<title>tor-netdoc: RSA: check exponent and min size in parse2</title>
<updated>2026-01-06T11:05:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-12-16T18:05:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=005597bb298a7da32a28ac61e624ef522a0d9703'/>
<id>urn:sha1:005597bb298a7da32a28ac61e624ef522a0d9703</id>
<content type='text'>
According to the spec we always use this fixed exponent, and we have a
minimum size of 1024.  This is checked adhoc in the old parser with
some slight assistance from what is now `RsaPublicParse1Helper`.

It's not clear to me that checking the exponent is actually a good
idea.  I think checking the size is probably a bad idea, and if it is
a good idea then 1024 is clearly too short.

But rather than revisit these questions, let's reproduce the old
behaviour in parse2.

In parse2 these checks should be features of the type.
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Introduce ParseOptions</title>
<updated>2025-11-18T17:06:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-22T15:47:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=980863b40b8ba26429176299bcf48e2f9ee423b8'/>
<id>urn:sha1:980863b40b8ba26429176299bcf48e2f9ee423b8</id>
<content type='text'>
There are currently no options.
</content>
</entry>
<entry>
<title>tor-netcoc: Introduce NotPresent, for absent multiplicity</title>
<updated>2025-10-23T10:12:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-22T11:27:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=121c7c82268c7eb776089e1768f0a5f9179f01b9'/>
<id>urn:sha1:121c7c82268c7eb776089e1768f0a5f9179f01b9</id>
<content type='text'>
Currently this is mishandled: the current use sites (in
rs/each_variety.rs) use Option&lt;Ignored&gt;, which would reject repeated
items with that keyword, which is technically wrong.  And encoing
will become a problem.  Vec&lt;Ignored&gt; would be wrong too.

Instead, broaden NotPresent and give it multiplicity impls.
</content>
</entry>
<entry>
<title>tor-netdoc: Move parse2 impls on Ignored to types/misc.rs</title>
<updated>2025-10-23T10:12:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-22T11:23:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f023aa7729f58cfaaef65a58003f63daf259809d'/>
<id>urn:sha1:f023aa7729f58cfaaef65a58003f63daf259809d</id>
<content type='text'>
This seems to be where we're putting most of the parse2 impls on these
types, now.  That makes more sense as parse2 becomes more of a proper
thing.
</content>
</entry>
<entry>
<title>tor-netdoc: blanket impl parse2 traits for Arc</title>
<updated>2025-10-21T15:25:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-21T13:34:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b298e1252a92a328cec11caa99bda5371a112b64'/>
<id>urn:sha1:b298e1252a92a328cec11caa99bda5371a112b64</id>
<content type='text'>
This replaces one ad-hoc impl and will avoid having to have any more.
</content>
</entry>
<entry>
<title>tor-netdoc: impl parse2 traits for protovers</title>
<updated>2025-10-15T09:35:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-02T10:25:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5de42709471ba92961de4980480d78086b9298b7'/>
<id>urn:sha1:5de42709471ba92961de4980480d78086b9298b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Replace NdaSystemTimeDeprecatedSyntax with Ios8601TimeSp</title>
<updated>2025-10-09T15:00:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T10:00:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39b7e1319c791cd87d13eebd6567603f06c2bced'/>
<id>urn:sha1:39b7e1319c791cd87d13eebd6567603f06c2bced</id>
<content type='text'>
Previously we needed this separate type because Ios8601TimeSp is
FromStr which prevented a correct ItemArgumentParseable impl.
</content>
</entry>
<entry>
<title>tor-netdoc: Abolish now-obsolete field argument to from_args (fmt)</title>
<updated>2025-10-09T11:45:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-07T14:09:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f73439a4907762bac5a0c4b6935681073437969d'/>
<id>urn:sha1:f73439a4907762bac5a0c4b6935681073437969d</id>
<content type='text'>
</content>
</entry>
</feed>
