<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse2/signatures.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-07T16:05:05Z</updated>
<entry>
<title>tor-netdoc: parse2/encode derive: Show unquoted attributes in the docs</title>
<updated>2026-04-07T16:05:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-02T09:22:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=05dcb0091730ffc3de33b96fd99a72fb0ded99e1'/>
<id>urn:sha1:05dcb0091730ffc3de33b96fd99a72fb0ded99e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: signature orderliness: add some xrefs</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-18T16:21:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2a01b25ccd5e4ef3f9cfd2ed3b2c6e1bfe4d032c'/>
<id>urn:sha1:2a01b25ccd5e4ef3f9cfd2ed3b2c6e1bfe4d032c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: signature orderliness: orderly signs don't cover other sigs</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-18T16:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9c643e7869b0543c8b72483a58a5707d22d3d94'/>
<id>urn:sha1:d9c643e7869b0543c8b72483a58a5707d22d3d94</id>
<content type='text'>
This is implied by `body` being the body before the first signature
item, but needs to be part of the definition.
</content>
</entry>
<entry>
<title>tor-netdoc: signature orderliness: shuffle wording slightly</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-18T16:19:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4ee19211be41365f6121be9981037967eaa52306'/>
<id>urn:sha1:4ee19211be41365f6121be9981037967eaa52306</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: signature orderliness: change terminology</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-18T16:18:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7108314102c3e1f41b146a4c8e2d69e2727ea538'/>
<id>urn:sha1:7108314102c3e1f41b146a4c8e2d69e2727ea538</id>
<content type='text'>
"Regular" is confusing, especially since in American English it tends
to mean "usual" - whereas, there are no orderly signatures in Tor
netdocs.
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Include body length in SignaturesData</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-10T18:03:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b363ca3f616dc2e7242a3206d495a12a0dace4c'/>
<id>urn:sha1:3b363ca3f616dc2e7242a3206d495a12a0dace4c</id>
<content type='text'>
This could allow users to attach and detach signatures, hash (only)
the body part, etc.
</content>
</entry>
<entry>
<title>tor-netdoc: parse2: Don't impl NetdocParseable for bodies of signed docs</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:24:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5e5dc10f0f4d477bf0e8e4d2197610c149a59541'/>
<id>urn:sha1:5e5dc10f0f4d477bf0e8e4d2197610c149a59541</id>
<content type='text'>
Such an impl is a footgun.  Explain this in docs &amp; comments.
</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: Move hash out of signature items (prep)</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-10T16:51:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fec9df146797de11dbe52e501cd648c5ee464dea'/>
<id>urn:sha1:fec9df146797de11dbe52e501cd648c5ee464dea</id>
<content type='text'>
Nonfunctional and formatting changes which reduce noise in the next
commit.
</content>
</entry>
</feed>
