<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel/handshake.rs, branch arti-v1.8.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.8.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-19T19:46:23Z</updated>
<entry>
<title>proto: Remove unused code from test</title>
<updated>2025-11-19T19:46:23Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-11-19T19:46:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b42a9851921e3cb1f1f3468cc986f733c932d6da'/>
<id>urn:sha1:b42a9851921e3cb1f1f3468cc986f733c932d6da</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Remove a .expect() of a digest array conversion</title>
<updated>2025-11-19T19:42:47Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-11-19T18:27:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=976e7f1048252588abdad0d9810831842711fdba'/>
<id>urn:sha1:976e7f1048252588abdad0d9810831842711fdba</id>
<content type='text'>
We know from the start that this is 32 bytes so no reason to hard fail
if not, just propagate the right type from the start.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Update generic channel comments</title>
<updated>2025-11-19T19:42:47Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-11-19T18:12:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=addafcbf421a9a95a58491356797c8865cff2b84'/>
<id>urn:sha1:addafcbf421a9a95a58491356797c8865cff2b84</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Split VerifiedChannel::finish()</title>
<updated>2025-11-19T19:42:47Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-28T17:17:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9721a72e59cf6324eb4af4b61601c87545a64bb4'/>
<id>urn:sha1:9721a72e59cf6324eb4af4b61601c87545a64bb4</id>
<content type='text'>
Move the client specific code into VerifiedClientChannel as in sending
the NETINFO cell. The rest is pretty much boiler plate to build a
channel reactor.

The relay finish() code is coming in a followup commit.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Use the new client specific channels</title>
<updated>2025-11-19T19:42:47Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-28T16:43:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=26aa4786d7b8568c6dcd13aa26aad4df3b453024'/>
<id>urn:sha1:26aa4786d7b8568c6dcd13aa26aad4df3b453024</id>
<content type='text'>
By changing the connect() returned object we therefore officially make
VerifiedChannel and UnverifiedChannel crate only objects.

Thus, this commit changes visibility on most things.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Move client handshake into client channel module</title>
<updated>2025-11-19T19:42:47Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-28T15:36:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=16d73b136b639f0f1a0ec6e128fa9e1e08260cdf'/>
<id>urn:sha1:16d73b136b639f0f1a0ec6e128fa9e1e08260cdf</id>
<content type='text'>
This only moves code from src/channel to src/client/channel.

It introduces a ClientChanBuilder that is used to launch client specific
channel by the public ChanBuilder.

The followup commits will add a VerifiedClientChannel and
UnverifiedClientChannel in order to again decouple client and relay code
from the generic objects.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add UnverifiedRelayChannel implementation</title>
<updated>2025-11-19T19:42:47Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-28T14:57:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=23b300c46d2c5a32392b88c5f99a1d26870ba882'/>
<id>urn:sha1:23b300c46d2c5a32392b88c5f99a1d26870ba882</id>
<content type='text'>
This commits takes out the relay specific code out of UnverifiedChannel
and puts it in UnverifiedRelayChannel.

In order to pull this off, we added some fiels to the VerifiedChannel
struct so the relay code get back generated data from the
UnverifiedChannel::check() in order to do its validation work and yield
a VerifiedRelayChannel.

This also lead to a cleanup of expect() and ChannelType::is_initiator().

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Remove relay ChannelAuthenticationData builder</title>
<updated>2025-10-23T17:47:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-23T16:54:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c6d2e8ca9bcad5d5259dc5aee7bfa9a67b8c96db'/>
<id>urn:sha1:c6d2e8ca9bcad5d5259dc5aee7bfa9a67b8c96db</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Feature flag some relay specific code</title>
<updated>2025-10-23T17:47:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-23T14:44:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0fb991e2369ea80e2c1d1e70b566eb7bd4b38968'/>
<id>urn:sha1:0fb991e2369ea80e2c1d1e70b566eb7bd4b38968</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add relay todos for the handshake</title>
<updated>2025-10-23T17:47:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-23T14:34:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80c1d322f00a190d6d7200e255a8c3cce7b1bf6d'/>
<id>urn:sha1:80c1d322f00a190d6d7200e255a8c3cce7b1bf6d</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
