<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsclient/src/connect.rs, branch arti-v2.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-09T15:36:01Z</updated>
<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>hsclient: s/cur_revision/stored_revision for clarity</title>
<updated>2026-05-07T18:12:14Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-06T15:39:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=992b842e784f5b65a9047f5f52b1d3b2509c7347'/>
<id>urn:sha1:992b842e784f5b65a9047f5f52b1d3b2509c7347</id>
<content type='text'>
"Stored" is more accurate than "current".
</content>
</entry>
<entry>
<title>hsclient: Compare the time periods instead of the blinded HsIds</title>
<updated>2026-05-07T18:12:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-06T15:38:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f5cf0169814bacc0da45054fc9d7f36c8fe870a'/>
<id>urn:sha1:4f5cf0169814bacc0da45054fc9d7f36c8fe870a</id>
<content type='text'>
The blinded HsIds were used a proxy for the time periods, but it's
better to just compare the TPs directly.

Part of #966
</content>
</entry>
<entry>
<title>hsclient: Store the current time period in a variable (fmt)</title>
<updated>2026-05-07T18:12:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-06T15:41:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f3d02b7b57e90bc9f567e09944ff45496ce6ef8'/>
<id>urn:sha1:4f3d02b7b57e90bc9f567e09944ff45496ce6ef8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsclient: Store the current time period in a variable</title>
<updated>2026-05-07T18:12:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-06T15:31:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2766144c8798ba0a4ad93097d1d34a1d73b6d8ea'/>
<id>urn:sha1:2766144c8798ba0a4ad93097d1d34a1d73b6d8ea</id>
<content type='text'>
This will soon need to be copied into `HsDescForTp`.
</content>
</entry>
<entry>
<title>hsclient: Fix an off-by-one check</title>
<updated>2026-05-07T18:12:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-01T16:30:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f65a2c550b061cf14477fe04d992fa70c54b9d9'/>
<id>urn:sha1:7f65a2c550b061cf14477fe04d992fa70c54b9d9</id>
<content type='text'>
We no longer consider the HsDir rate-limited if its `requery == now`.

This was caught by the new tests.
</content>
</entry>
<entry>
<title>hsclient: Add test for introduction retries after intro NACK</title>
<updated>2026-05-07T18:12:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-01T16:18:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=12ab68ec8ea675c07e0ee2179820c33d36a3f85b'/>
<id>urn:sha1:12ab68ec8ea675c07e0ee2179820c33d36a3f85b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsclient: Add scope around mutex guard (fmt)</title>
<updated>2026-05-07T18:12:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-01T15:26:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3bc3a3433703f6eb01021bbe995ff581185a910'/>
<id>urn:sha1:f3bc3a3433703f6eb01021bbe995ff581185a910</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hsclient: Add scope around mutex guard</title>
<updated>2026-05-07T18:12:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-05-01T15:25:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8854b4c875e951f2a48de6da51c2196d3480e811'/>
<id>urn:sha1:8854b4c875e951f2a48de6da51c2196d3480e811</id>
<content type='text'>
This needs to be dropped before the next test (because the test will try
to acquire the lock inside the `Mocks` impl).
</content>
</entry>
</feed>
