<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/authcert.rs, branch arti-v2.2.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.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-03-19T10:37:47Z</updated>
<entry>
<title>tor-netdoc: Apply deferred rustfmt churn to imports</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-11T12:59:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9427eca66096a2a333fafb360532a3679dc52fd9'/>
<id>urn:sha1:9427eca66096a2a333fafb360532a3679dc52fd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: authcert test: Avoid using NetdocParseable for AuthCert</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-10T15:34:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=356afa6e7993ceb726d4c0784b7a17d39e6aef75'/>
<id>urn:sha1:356afa6e7993ceb726d4c0784b7a17d39e6aef75</id>
<content type='text'>
We want to stop deriving NetdocParseable directly for body structs.

This test case does in fact parse a signed authcert and extract just
the body without verifying the signatures.  That's fine in a test, but
we're going to make it involve some hoop-jumping.  So, jump those
hoops.
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Unify top-level derive as NetdocUParseablenverified</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-09T17:48:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=575261d3f0c6f537640ecbe810396aac35652de2'/>
<id>urn:sha1:575261d3f0c6f537640ecbe810396aac35652de2</id>
<content type='text'>
Replace the two separate NetdocParseable and NetdocUnverified derives,
for toplevel signed documents, with a single derive.

This makes the derive API simpler.  It will also make it reasonably
possible to avoid deriving NetdocParseable directly for body structs.
Such impls are a security hazard!

In detail:
 * Rename NetdocUnverified to NetdocParseableUnverified
 * Have it use $IMPL_NETDOC_PARSEABLE from the NetdocParseable deftly
   module so that it derives NetdocParseable for the body.
   (We'll change this later in the series.)
 * Adjust the docs and all call sites.
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Move hash out of signature items</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-11T13:06:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aefa48e251f514a2cdbcb9e4a26292438b74af68'/>
<id>urn:sha1:aefa48e251f514a2cdbcb9e4a26292438b74af68</id>
<content type='text'>
During encoding, including these hashes in the signature items makes
no sense.  The hashes are an *input* to the signature items, but not
part of them.

Move the hashes out of the items.  Instead, provide each signatures
section type with a hash accumulator type, in which the hash(es) are
stored.
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Introduce SignatureData struct</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-03T19:24:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=399c09200a008b02f4a9551fed22032feacf198d'/>
<id>urn:sha1:399c09200a008b02f4a9551fed22032feacf198d</id>
<content type='text'>
This is going to contain body information, and the hashes, too.
</content>
</entry>
<entry>
<title>tor-netdoc: NetdocParseableSignatures: Make into its own macro</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-03T19:04:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e12328a78e03425465320d98ad695c00614dac8d'/>
<id>urn:sha1:e12328a78e03425465320d98ad695c00614dac8d</id>
<content type='text'>
This is going to be its own trait and it is usually best if macros are
named after traits, rather than having the macro derive a different
trait depending on meta attributes.
</content>
</entry>
<entry>
<title>tor-netdoc: Apply rustfmt churn</title>
<updated>2026-03-03T18:57:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-03T18:57:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=96114eb9a68ca1c8062bc3f8761aee90115e003d'/>
<id>urn:sha1:96114eb9a68ca1c8062bc3f8761aee90115e003d</id>
<content type='text'>
</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: Drop dir_auth_key_cert_signatures test case</title>
<updated>2026-03-03T18:46:11Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-03T16:22:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=807890deecfb215e9dc59611d5b4898924994c28'/>
<id>urn:sha1:807890deecfb215e9dc59611d5b4898924994c28</id>
<content type='text'>
This test case constructs a "netdoc" which consists of one
dir-key-certification item, and parses it using `AuthCertSignatures as
NetdocParseable`.  But we're going to split out the parsing trait for
signatures sections, so that's not going to work any more.

This test tests only corner cases of the derived
SignatureItemParseable implementation; but that's unit tested in the
parse2 tests.  (Once upon a time there was perhaps manual parsing code
which needed a specific test.)

Remove it.
</content>
</entry>
<entry>
<title>tor-netdoc: EncodedAuthCert: bodge the features for now</title>
<updated>2026-01-15T12:37:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-01-15T11:14:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=67b24f4b924311e1ae89c2962983d663fa607466'/>
<id>urn:sha1:67b24f4b924311e1ae89c2962983d663fa607466</id>
<content type='text'>
The feature arrangements in tor-netdoc are getting to be in need of a
serious overhaul.
</content>
</entry>
</feed>
