<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsclient/src/state.rs, branch arti-v1.2.8</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-09-24T13:45:21Z</updated>
<entry>
<title>CircMgr: Make CircMgr and HsCircPool generic over builder type.</title>
<updated>2024-09-24T13:45:21Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-09-16T16:35:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e6f0b59e595f5ab5bd8d58d3c6aab8dface9a851'/>
<id>urn:sha1:e6f0b59e595f5ab5bd8d58d3c6aab8dface9a851</id>
<content type='text'>
This will allow for testing, as the CircuitBuilder can be replaced with
a mocked version.

This did require moving some of what was in the CircuitBuilder impl into
the AbstractCircuitBuilder type, since Drop implementations can't be
specialized, but that's fine, as we'll probably be doing more of that in
the future anyways.
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Create the VanguardMgr in CircMgr::new.</title>
<updated>2024-03-11T18:56:37Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-11T16:34:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=36ee5240a4feeb8815ada7a654701920049d7fb5'/>
<id>urn:sha1:36ee5240a4feeb8815ada7a654701920049d7fb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-circmgr: Give CircMgr a VanguardMgr.</title>
<updated>2024-03-11T18:56:11Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-03-05T20:10:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ee6d9ed8ff705101b393a7e4c51aff5004ed1b6'/>
<id>urn:sha1:3ee6d9ed8ff705101b393a7e4c51aff5004ed1b6</id>
<content type='text'>
Closes #1277
</content>
</entry>
<entry>
<title>Convert to the latest versions of dalek-cryptography</title>
<updated>2023-11-29T15:34:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-21T15:58:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98037a2c788bd901679139178d25f855324637f3'/>
<id>urn:sha1:98037a2c788bd901679139178d25f855324637f3</id>
<content type='text'>
The main changes that we have to adjust for are as follows:

* In x25519-dalek:
  * `StaticSecret` is now behind a feature.
  * `StaticSecret::new` is deprecated in favor of
    `StaticSecret::random_from_rng`.
  * StaticSecret no longer does its own clamping.

* In ed25519-dalek:
  * `SecretKey` has (in effect) been renamed to `SigningKey`. The name
    `SecretKey` is now an alias for `[u8; 32]`.
  * `SigningKey` is effectively a keypair, since it contains a
     public key as well.
  * `PublicKey` has been renamed to `VerifyingKey`.
  * The functions to extract a signing key and verifying key have
    been renamed as you might expect.
  * `ExpandedSecretKey` has been moved to `hasmat` and no longer
    implements `sign`.
  * `ExpanededSecretKey` now has as its elements a scalar and a hash
    prefix.
  * Various functions that took `&amp;[u8]` now take `&amp;[u8; N]`.
  * We no longer need a wrapper for older versions of rand.

There is a single test in tor-keymgr that does not pass.  I've
marked it as ignore for now, in hopes that @gabi-250 can help me
figure it out.

This closes #808.  There are several changes I want to make before
we merge, however. They are marked with TODO DALEK.
</content>
</entry>
<entry>
<title>tor-hsclient: Deprecate HsClientSecretKeysBuilder::ks_hsc_intro_auth().</title>
<updated>2023-11-20T12:52:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-11-20T12:34:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=15c6f483e48d0cd8acf7de4d8259be183d0a5ac8'/>
<id>urn:sha1:15c6f483e48d0cd8acf7de4d8259be183d0a5ac8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Switch MockRuntime to SimpleMockSleepProvider</title>
<updated>2023-10-03T15:35:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-22T15:13:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9651f5ea5f046b649b17273f948e359588115332'/>
<id>urn:sha1:9651f5ea5f046b649b17273f948e359588115332</id>
<content type='text'>
For now we do this by changing the meaning of the name
`MockSleepProvider` in runtime.rs.  This is a bodge to reduce noise in
this diff.

Consequences at call sites:

 * If the type is named somehow, the other type must be used.

 * SimpleMockTimeProvider calls it jump_wallclock rather than jump_to,
   which is IMO a better name.  (MockRuntime will change in a moment.)

 * SimpleMockTimeProvider's advance() function isn't async and doesn't
   yield.  But none of the call sites actually mind that.
</content>
</entry>
<entry>
<title>tor-hsclient: state expiry test: Use MockSleepProvider advance</title>
<updated>2023-09-20T13:38:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-20T13:32:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aefffcf8b6bb2baab271044ab0f74a05b9a3a501'/>
<id>urn:sha1:aefffcf8b6bb2baab271044ab0f74a05b9a3a501</id>
<content type='text'>
See
  https://gitlab.torproject.org/tpo/core/arti/-/issues/1040
</content>
</entry>
<entry>
<title>tor-hsclient: expiry tests: Use advance_by</title>
<updated>2023-09-18T09:36:11Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-13T13:59:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cde268bb15f86869c41d436f36936abafdadcaa5'/>
<id>urn:sha1:cde268bb15f86869c41d436f36936abafdadcaa5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsclient: expiry: Fix a boundary error in time calculation</title>
<updated>2023-09-18T09:36:11Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-13T16:22:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=df7ae242dc93f53e28323b4ea90b81840b249e0e'/>
<id>urn:sha1:df7ae242dc93f53e28323b4ea90b81840b249e0e</id>
<content type='text'>
We might loop, sleeping for zero.  In real life this wouldn't last
long, but with the mock executor it can busy loop.
</content>
</entry>
</feed>
