<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/microdesc, 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-06-22T17:00:31Z</updated>
<entry>
<title>Apply deferred rustfmt churn</title>
<updated>2026-06-22T17:00:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T19:42:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f56e5e98af6d195a8f9d85ae87e226aa91b4c97'/>
<id>urn:sha1:3f56e5e98af6d195a8f9d85ae87e226aa91b4c97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Break Microdesc up into Microdesc and MicrodescAndHash</title>
<updated>2026-06-22T16:59:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T19:32:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=479acbf246db677d4139bca317cb0e3d1fd9340a'/>
<id>urn:sha1:479acbf246db677d4139bca317cb0e3d1fd9340a</id>
<content type='text'>
The Microdesc type having a copy of the document hash was always
weird, and it's weirder now that there's all these parse2 types that
don't have it and parse2 derives on Microdesc that don't touch it.

Make a new type for the descriptor and its hash.

Use deref to arrange that the new type works almost like the old one.

Adjust the use lines in the dependencies to temporarily import
MicrodescAndHash as Microdesc.
</content>
</entry>
<entry>
<title>tor-netdoc: Microdesc: derive Constructor</title>
<updated>2026-06-22T16:57:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T18:46:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3a76a1eeee2be4b18554e43b337b67e544c6efb8'/>
<id>urn:sha1:3a76a1eeee2be4b18554e43b337b67e544c6efb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>Upgrade rand crates to 0.10.</title>
<updated>2026-05-12T20:55:43Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-07T20:06:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a18167928901d8c88cd1cdd87346de8ad1ee42a2'/>
<id>urn:sha1:a18167928901d8c88cd1cdd87346de8ad1ee42a2</id>
<content type='text'>
When the circ-padding feature is enabled, we use maybenot, which does
not yet support rand 0.10. In the meantime, enabling this feature pulls
in rand 0.9. This is not ideal, but should be okay as a temporary
situation.

This also replaces the use of ReseedingRng (which was removed in 0.10)
with the reseeding_rng crate. This is somewhat less performant, but it
should be okay.
</content>
</entry>
<entry>
<title>tor-netdoc: Use Curve25519Public for parsing</title>
<updated>2026-04-02T15:44:41Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-03-26T13:15:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=abf0e4cf537a69f5a76dfe5a1dbf46839195d77f'/>
<id>urn:sha1:abf0e4cf537a69f5a76dfe5a1dbf46839195d77f</id>
<content type='text'>
This commit removes the implementation of ItemArgumentParseable for
curve25519::PublicKey in favor of using the already existing
Curve25519Public, which also got beefed up slightly.
</content>
</entry>
<entry>
<title>tor-netdoc: Properly parse mutliple family-ids</title>
<updated>2026-04-02T15:44:41Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-03-23T13:35:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=583e14dbb5381890c189f502788ddd1f3283a92c'/>
<id>urn:sha1:583e14dbb5381890c189f502788ddd1f3283a92c</id>
<content type='text'>
This commit fixes a bug in the microdescriptor parser to properly parse
multiple family-ids.

Previously, we interpreted the spec to simply contain multiple
`family-ids` lines.  This is wrong however.  Instead, there may only be
a single such line with multiple values.

To fix this issues, we itnroduce a `RelayFamilyIds` type, similar to
`RelayFamily`, that stores multiple `RelayFamilyId` entires in a `Vec`.
Then, we just derive `ItemValueParseable` on it and win.
</content>
</entry>
<entry>
<title>tor-netdoc: Derive NetdocParseable for Microdesc</title>
<updated>2026-04-02T15:38:35Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-03-23T11:34:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98d23fdcb6b6814566eec493f1ee67cba555807a'/>
<id>urn:sha1:98d23fdcb6b6814566eec493f1ee67cba555807a</id>
<content type='text'>
This makes it possible to parse2 micro descriptors, which will be very
useful later on.

For this, it makes a few changes.  Most notably, it introduces a
(private) field called `onion_key`, which stores an optional RSA onion
key, as it serves as the introduction line for this netdoc document
type.  Besides, it also changes the `ed25519_id` type to the
`Ed25519IdentityLine` wrapper type, although the signature of the
respective getter remains the same.
</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>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T14:47:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=895bc807f106e359d35522a3ad5f288ba6cf6a9c'/>
<id>urn:sha1:895bc807f106e359d35522a3ad5f288ba6cf6a9c</id>
<content type='text'>
- The Rng::gen() functions have been renamed to Rng::random().
</content>
</entry>
</feed>
