<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsservice/src, branch arti-v1.1.10</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.10</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.10'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-31T11:40:36Z</updated>
<entry>
<title>tor-hsservice: Remove an unused mut in a test</title>
<updated>2023-10-31T11:40:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-30T15:53:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be2db12c6f0381e0fdcc3f889f2f9a13f2ea95e4'/>
<id>urn:sha1:be2db12c6f0381e0fdcc3f889f2f9a13f2ea95e4</id>
<content type='text'>
I think retaining this lint even in tests is probably reasonable.
IptsPublisherView has interior mutability, so with this function
taking one, it won't ever need mut.
</content>
</entry>
<entry>
<title>Merge branch 'timeout' into 'main'</title>
<updated>2023-10-30T18:28:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2023-10-30T18:28:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8176dac8f597a29524db3c0b8f6e457ea9b2373f'/>
<id>urn:sha1:8176dac8f597a29524db3c0b8f6e457ea9b2373f</id>
<content type='text'>
timeout_track improvements

See merge request tpo/core/arti!1711</content>
</entry>
<entry>
<title>Fix typo in doc comment</title>
<updated>2023-10-30T18:06:22Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-30T18:06:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a3f52a518da97bf5be5a64411648dd178c7d21a'/>
<id>urn:sha1:0a3f52a518da97bf5be5a64411648dd178c7d21a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Use the new HandshakeType enum to represent CREATE2 HTYPEs.</title>
<updated>2023-10-30T14:18:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-30T13:56:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=28a0b24db240cc24230c80732c5f4ba3a0b0d461'/>
<id>urn:sha1:28a0b24db240cc24230c80732c5f4ba3a0b0d461</id>
<content type='text'>
Representing the supported HTYPEs as `HandshakeType`s instead of `u32`s
makes it more difficult to pass in wrong/invalid values to
`HsDescBuilder::create2_formats`.

This also fixes a descriptor publisher bug spotted by @jnewsome, where
the advertised CREATE2 HTYPEs included HTYPE `1`, which is actually
supposed to be a reserved value. The publisher now only advertises the
`NTOR` HTYPE (just like C Tor).
</content>
</entry>
<entry>
<title>tor-hsservice: timeout_track: Test `update` functions</title>
<updated>2023-10-30T13:16:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-30T12:36:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=54c1b038712d6951c5d748dbec21bdb41c387725'/>
<id>urn:sha1:54c1b038712d6951c5d748dbec21bdb41c387725</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: timeout_track: Provide `update` via a trait</title>
<updated>2023-10-30T13:16:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-30T12:57:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a14cf6e843b3da0db5ded6787b8a5fad0411d76c'/>
<id>urn:sha1:a14cf6e843b3da0db5ded6787b8a5fad0411d76c</id>
<content type='text'>
We have a profusion of similar methods with similar names and similar
documentation.  Centralising the documentation in a trait is helpful.

This also means that callers can just naturally call `.update` rather
than needing to spell out `.update_abs` vs `.update_rel` etc.
</content>
</entry>
<entry>
<title>tor-hsservice: timeout_track: Clarify edge cases</title>
<updated>2023-10-30T13:16:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-30T12:38:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9d41328ea603124d3a32664d3176045faf6e6e5a'/>
<id>urn:sha1:9d41328ea603124d3a32664d3176045faf6e6e5a</id>
<content type='text'>
Clarify this in the update functions, and in the general discussion.
We don't want zero timeouts.
</content>
</entry>
<entry>
<title>tor-netdoc: Change return type of create_desc_sign_key_cert.</title>
<updated>2023-10-25T15:32:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-25T14:30:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aad987a47aa9584ce2ba6a16ab06710103737dc3'/>
<id>urn:sha1:aad987a47aa9584ce2ba6a16ab06710103737dc3</id>
<content type='text'>
`Bug` wasn't necessarily the right error type here. Plus, with the new
error type adding new errors (i.e. `CertEncodeError` variants), is not a
breaking change.
</content>
</entry>
<entry>
<title>tor-netdoc: Building a descriptor now only requires the public part of blinded_id.</title>
<updated>2023-10-25T15:32:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-25T14:05:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6420e5ef3460e1ff3ccb77beeb75af2c918f86d7'/>
<id>urn:sha1:6420e5ef3460e1ff3ccb77beeb75af2c918f86d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Update HsDesc, HsDescOuter to accept the hs_desc_sign cert as an argument.</title>
<updated>2023-10-25T15:32:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-23T17:56:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7edade162c8dd5f45f8d69496084f32003357e55'/>
<id>urn:sha1:7edade162c8dd5f45f8d69496084f32003357e55</id>
<content type='text'>
This will enable us to (eventually) the load the descriptor signing key
cert from the keystore (as opposed to always recomputing it when
building the `HsDesc`).

Part of #1048
</content>
</entry>
</feed>
