<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/channel.rs, branch arti-v2.3.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-04-14T19:10:46Z</updated>
<entry>
<title>proto: Move DummyChan/DummyChanProvider to relay channel.rs</title>
<updated>2026-04-14T19:10:46Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-14T19:10:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1d534a6413d78a93ee3b1e10ec00131df7a56258'/>
<id>urn:sha1:1d534a6413d78a93ee3b1e10ec00131df7a56258</id>
<content type='text'>
From the reactor.rs to channel.rs, makes more sense and we'll need it in
the handshake tests.

No behavior change, just code movement and a function rename.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Remove re-export of MsgBuf in unit tests</title>
<updated>2026-04-14T18:38:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-08T18:33:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=59cd1dc3dad1a428eb0fd3236ae9b71760d88353'/>
<id>urn:sha1:59cd1dc3dad1a428eb0fd3236ae9b71760d88353</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</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>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: 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>tor-proto: add `CreateRequestHandler`</title>
<updated>2026-04-08T15:29:26Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-04-01T01:14:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5d4ecb60063dea0c114fb35b02b20c93f857dae0'/>
<id>urn:sha1:5d4ecb60063dea0c114fb35b02b20c93f857dae0</id>
<content type='text'>
for handling CREATE* messages on channels.
</content>
</entry>
<entry>
<title>proto: Add debug_assert_eq() when building Authenticate</title>
<updated>2026-03-30T15:00:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-30T14:45:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1956037d3fe6b9b521d7bd76965a3acbe420121'/>
<id>urn:sha1:b1956037d3fe6b9b521d7bd76965a3acbe420121</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>cell: Add Authenticate::BODY_LEN as a public const</title>
<updated>2026-03-30T15:00:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-30T14:41:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a2b21032adefbf3a4ffac0f51c714b9070d0102'/>
<id>urn:sha1:0a2b21032adefbf3a4ffac0f51c714b9070d0102</id>
<content type='text'>
We use this constant value when building the AUTHENTICATE cell to
optimize the memory allocation as this won't ever change.

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>
</feed>
