<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/channel/handshake.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-12T20:55:43Z</updated>
<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>tor-proto: give our rsa ident to the channel reactor</title>
<updated>2026-04-16T14:20:17Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-04-16T14:17:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=49f18162c533cc921b712aa4db8ace458fa62d04'/>
<id>urn:sha1:49f18162c533cc921b712aa4db8ace458fa62d04</id>
<content type='text'>
This will be needed for ntor handshakes.
</content>
</entry>
<entry>
<title>tor-proto: give our ed ident to the channel reactor</title>
<updated>2026-04-09T21:49:32Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-04-09T21:24:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=094269ecd651e7ebf45272c41802236e66e41d63'/>
<id>urn:sha1:094269ecd651e7ebf45272c41802236e66e41d63</id>
<content type='text'>
This will be needed for ntor handshakes.
</content>
</entry>
<entry>
<title>relay: Pass advertise SocketAddr to channel builder instead of IpAddr</title>
<updated>2026-04-09T15:54:35Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-31T15:10:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8ab7b5b1ec1d89a2f2f66b63e14d6dba11393728'/>
<id>urn:sha1:8ab7b5b1ec1d89a2f2f66b63e14d6dba11393728</id>
<content type='text'>
This trickles down to the tor-proto channel handshake code. But, the
real need is in the channel builder in order to validate the outbound
channel target.

Fixes #2440

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Bring back AuthLogDigest and explicitly convert to SLOG/CLOG</title>
<updated>2026-04-08T18:40:52Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-08T17:26:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9801135cc0737e38a9e5da1ee478d5b2e6385057'/>
<id>urn:sha1:9801135cc0737e38a9e5da1ee478d5b2e6385057</id>
<content type='text'>
From opara's comment:
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3844#note_3388789

Keep the low level AuthLogDigest type alias and return it. The callsite
is the one deciding if the returned digest is a Clog or a Slog.

Related to #2441

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add ClogDigest and SlogDigest types</title>
<updated>2026-04-08T18:40:14Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-31T16:26:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e777a8273bbac99990e7e2ecd224ea05c64dded'/>
<id>urn:sha1:4e777a8273bbac99990e7e2ecd224ea05c64dded</id>
<content type='text'>
Introduce those types in order to avoid mixing them up as the previous
AuthLogDigest was just a type alias over [u8; 32]

Fixes #2441

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-{proto,chanmgr}: change how channels accept a CREATE* handler</title>
<updated>2026-04-08T15:29:26Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-04-07T04:14:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dcc6928370ae3018d2d56def9031e5d3cd766622'/>
<id>urn:sha1:dcc6928370ae3018d2d56def9031e5d3cd766622</id>
<content type='text'>
Instead of giving the `CreateRequestHandler` to the channel after it's
constructed, we integrate it into the handshake so that we can give it
to the channel constructor.

The `ChannelType` is no longer part of the `Channel`.

Some of the tests could be cleaned up slightly now that the channel
doesn't need the `ChannelType`, but I don't want to conflict with !3853.
</content>
</entry>
<entry>
<title>proto: Import read_msg() instead of refering to it</title>
<updated>2026-03-30T15:00:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-26T16:19:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=02ac68ca7333bfb01f425edaa429c445cb3ea2e3'/>
<id>urn:sha1:02ac68ca7333bfb01f425edaa429c445cb3ea2e3</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Rename RelayIdentities to RelayChannelAuthMaterial</title>
<updated>2026-03-30T15:00:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-24T16:30:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2fc98dbd6953078f968300666dda7728d5dc99db'/>
<id>urn:sha1:2fc98dbd6953078f968300666dda7728d5dc99db</id>
<content type='text'>
This object contains a melting pot of public keys, private keys and
certificates.

Rename it to reflect that it is channel authentication material and not
"identities.

https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3791#note_3374454

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Rename many variables with more fine grained naming</title>
<updated>2026-03-30T15:00:17Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-24T16:03:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=38b144fbde08d781dbb0c20c8efabeef3d590ce3'/>
<id>urn:sha1:38b144fbde08d781dbb0c20c8efabeef3d590ce3</id>
<content type='text'>
Mostly, identity a `ChanTarget` as a "target" since we juggle with
PeerInfo and OwnedChanTarget nowadays.

All certificate and keys have very specific names which attempts to
match the spec as much as possible.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
