<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/hsdesc/inner.rs, branch arti-v1.1.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-02-17T20:06:09Z</updated>
<entry>
<title>netdoc: Remove a TODO hs comment.</title>
<updated>2023-02-17T20:06:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-17T20:06:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=757c6d333f07ddfd20c4bf5bdf3f9393174c4116'/>
<id>urn:sha1:757c6d333f07ddfd20c4bf5bdf3f9393174c4116</id>
<content type='text'>
It said to check whether C enforces an absence of extraneous bytes
at the end of the link specifiers.  It does, in
`hs_desc.c:decode_link_specifiers()`, where it says:

```
  if (link_specifier_list_parse(&amp;specs, decoded,
                                (size_t) decoded_len) &lt; decoded_len) {
    goto err;
  }
```

The comparison with "decoded_len" checks whether all the bytes were
decoded.
</content>
</entry>
<entry>
<title>tor-netdoc: Run rustfmt (separately from the refactoring)</title>
<updated>2023-02-15T17:17:01Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-15T17:12:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676241c3490ee25c5b09f1b3c5693021e6de2030'/>
<id>urn:sha1:676241c3490ee25c5b09f1b3c5693021e6de2030</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Remove many needless calls to .iter() and .into_iter()</title>
<updated>2023-02-15T17:17:01Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-15T16:18:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a91c732fe4b597ad4e90564ca4630ac3048938a'/>
<id>urn:sha1:4a91c732fe4b597ad4e90564ca4630ac3048938a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc: Add a feature to expose hsdesc inner doc parsers</title>
<updated>2023-02-14T12:44:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-14T12:44:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=79dd2ef99505242751e1f6ff0548072b21ed53cc'/>
<id>urn:sha1:79dd2ef99505242751e1f6ff0548072b21ed53cc</id>
<content type='text'>
We want to fuzz these parsers, but there's no currently way to get
at the parsers for inner documents without going through a lot of
encryption.  (Coverage-guided fuzzers are powerful, but they
can't find SHA3 preimages.)
</content>
</entry>
<entry>
<title>batching_split_before: Rename "prefix" to "header"</title>
<updated>2023-02-13T16:55:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-13T16:55:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e44be77f52c3d8f4d102b80f9bdb97f3daf20046'/>
<id>urn:sha1:e44be77f52c3d8f4d102b80f9bdb97f3daf20046</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1016#note_2877759

"_prefixed" becomes "_with_header".  That mirrors the returned struct
which is nice.
</content>
</entry>
<entry>
<title>tor-netdoc: Use batching_split_before in HsDescInner</title>
<updated>2023-02-10T19:47:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-10T13:12:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d35f7990e84aefaaac450198f161b40cbb036869'/>
<id>urn:sha1:d35f7990e84aefaaac450198f161b40cbb036869</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc: Fix most "TODO HS rename" comments</title>
<updated>2023-02-08T18:23:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-08T18:23:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39f5f90f3f0a7041ff147e37628bbdf8ba731102'/>
<id>urn:sha1:39f5f90f3f0a7041ff147e37628bbdf8ba731102</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc::hsdesc: Distinguish layer from document.</title>
<updated>2023-02-08T18:16:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-08T18:16:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c3bd3626b10e8b25ed347a46be6daa654cf31ad'/>
<id>urn:sha1:8c3bd3626b10e8b25ed347a46be6daa654cf31ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc::hsdesc: Rename "layer" modules.</title>
<updated>2023-02-08T18:08:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-08T18:03:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=966ddeb0920d1608e5fdb37e928272e761da4aec'/>
<id>urn:sha1:966ddeb0920d1608e5fdb37e928272e761da4aec</id>
<content type='text'>
</content>
</entry>
</feed>
