<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/channel.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:42:47Z</updated>
<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: Use Arc for relay identities object</title>
<updated>2025-10-23T17:47:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-23T14:33:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3407ff852c667df663309df65ecbb71a5824ae30'/>
<id>urn:sha1:3407ff852c667df663309df65ecbb71a5824ae30</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Compute authenticate data after validating certificates</title>
<updated>2025-10-23T17:46:24Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-22T15:58:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=95d256e0828b8a00f7af67a3a1cda5822136c51c'/>
<id>urn:sha1:95d256e0828b8a00f7af67a3a1cda5822136c51c</id>
<content type='text'>
This is only done if we kept the AUTH_CHALLENGE cell and we have relay
identities. In other words, this is only when the UnverifiedChannel was
created from a RelayInitiatorHandshake.

Note: The check_internal() function is too large and should be
refactored in smaller pieces.

Note: It is also likely that we need to split UnverifiedChannel and
VerifiedChannel as it is getting client or relay members. Not great.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add a relay channel builder</title>
<updated>2025-10-23T17:45:41Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-22T15:19:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d41498ffb84b25f42d2137fd871e1cca8db9c11'/>
<id>urn:sha1:2d41498ffb84b25f42d2137fd871e1cca8db9c11</id>
<content type='text'>
The client and relay channel builder don't share anything and return
different objects hence the seperation.

Furthermore, this seperation avoids having the client ChanMgr ability to
launch relay channels.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add RelayIdentities object holding our keys</title>
<updated>2025-10-23T17:45:41Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-22T15:03:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d8c63706f566f9043270f669cd1654d3502ae5a0'/>
<id>urn:sha1:d8c63706f566f9043270f669cd1654d3502ae5a0</id>
<content type='text'>
This is a intermediary object between tor-chanmgr and tor-proto that is
when building a relay channel, those keys/certs need to be set in the
ChannelBuilder so the tor-proto can use them to authenticate.

We avoid that way making tor-proto depending on tor-keymgr for the
ultimate goal to avoid tor-proto to have access to all the keys in the
KeyMgr.

Future commits will introduce a relay channel builder which will use
that object to set the keys.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Add RelayInitiatorHandshake</title>
<updated>2025-10-23T17:44:42Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-10-22T14:25:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa78ad3aa8a47e579b55ed0025cc730bd0b159fe'/>
<id>urn:sha1:fa78ad3aa8a47e579b55ed0025cc730bd0b159fe</id>
<content type='text'>
This implements the relay initiator side of the handshake up to the
creation of an unverified channel.

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