<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/relay/channel, 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-21T18:01:27Z</updated>
<entry>
<title>proto: Make the CreateRequestHandler::new() take the ntor keys</title>
<updated>2026-04-21T18:01:27Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-16T17:00:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9c2259efabcd59a35b4a6d7422d0ee927b21ff98'/>
<id>urn:sha1:9c2259efabcd59a35b4a6d7422d0ee927b21ff98</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Use the new RelayNtorKeys for the create handler</title>
<updated>2026-04-21T18:01:27Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-16T16:41:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=44941fc78a470b78fb4ebf6e2a7d1faaac67b104'/>
<id>urn:sha1:44941fc78a470b78fb4ebf6e2a7d1faaac67b104</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</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>proto: Add a test helper function for building a CircNetParameters</title>
<updated>2026-04-14T20:10:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-14T19:43:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4ac851f19aa4748d928858739b31f80362c8f2a4'/>
<id>urn:sha1:4ac851f19aa4748d928858739b31f80362c8f2a4</id>
<content type='text'>
We can't access `NetParameters` in this crate to build from consensus
default value so instead add a `defaults_for_tests()` gated function for
each parameters object which puts in the defaults from the spec.

We'll need CircNetParameters in order to build create request handler
for unit tests hence why it is in src/circuit.rs.
</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: Apply deferred rustfmt</title>
<updated>2026-04-09T17:37:28Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T17:37:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f62444cd4fb48d9739614098a829879d7ef99fbb'/>
<id>urn:sha1:f62444cd4fb48d9739614098a829879d7ef99fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: Add method for installing ntor keys in the create handler</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T16:46:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fd6d7579e882dd33e079b0e2c82d78572f39b60e'/>
<id>urn:sha1:fd6d7579e882dd33e079b0e2c82d78572f39b60e</id>
<content type='text'>
This also updates the key rotation task to call the setter whenever the
ntor keys get updated.
</content>
</entry>
<entry>
<title>arti-relays: Pass a CreateRequestHandler to the crypto task</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T16:37:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bb14a247e03346f825f67afe7fafe3cb17933f02'/>
<id>urn:sha1:bb14a247e03346f825f67afe7fafe3cb17933f02</id>
<content type='text'>
This will need to be updated each time the ntor keys change.
</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>
</feed>
