<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/channel/initiator.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-04-16T14:20:17Z</updated>
<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>proto: Add channel relay handshake unit tests</title>
<updated>2026-04-14T18:38:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-01T16:44:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93a2ba3cfbfa1c8f623e62244248c7d418174651'/>
<id>urn:sha1:93a2ba3cfbfa1c8f623e62244248c7d418174651</id>
<content type='text'>
Instead of copying the client unit tests into the channel module, just
make both current unit tests run on a client and relay handshake.

This required a bit of trickery with type HandshakeConnectFn but works
out in the end.

It also adds the RelayMsgBuf that wraps a MsgBuf in order to implement
CertifiedConn which is very relay only.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</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>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: replace use of `ChannelDirection` with `CircIdRange`</title>
<updated>2026-04-08T15:29:26Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-04-07T15:46:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5fd0ac9461c63e31c168150738c2c5beb3b034d5'/>
<id>urn:sha1:5fd0ac9461c63e31c168150738c2c5beb3b034d5</id>
<content type='text'>
</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>tor-proto: change channel to use `Runtime`</title>
<updated>2026-04-08T15:29:25Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-03-31T06:26:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=57345aa2d05950016756903ec1635bc99b5da1ef'/>
<id>urn:sha1:57345aa2d05950016756903ec1635bc99b5da1ef</id>
<content type='text'>
When used for relay channels, the channel reactor will soon need to
spawn relay circuit reactors.
</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: Remove noop function for initiator channel</title>
<updated>2026-03-30T15:00:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-24T16:08:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3822c107818fbc139294bb6edbcaf1e4c1a88e41'/>
<id>urn:sha1:3822c107818fbc139294bb6edbcaf1e4c1a88e41</id>
<content type='text'>
No need to call `set_authenticated()` for a relay initiator channel
because relay initiator channel are always authenticated and thus the
underlying channel cell codec will always use the R2R restricted message
set.

This is only useful to a relay responder channel. The naming of that
function is not great actually and should probably change.

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