<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src/relay.rs, branch arti-v2.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-28T16:11:56Z</updated>
<entry>
<title>relay: Recompute valid_until cache in view constructor</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T17:50:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c4f17bdf7b5932ba2815f3eac9c64b1ba447226f'/>
<id>urn:sha1:c4f17bdf7b5932ba2815f3eac9c64b1ba447226f</id>
<content type='text'>
The recompute of the valid_until cache is done now in the constructor of
FullKeyView so the view is directly usable once built.

Else, the caller always need to call the recompute function which is
error prone especially when used as a throwaway view.

Also, without this change, building the view and then attempting to log
the public keys would fail.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Rename try_generate_keys()</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T16:44:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6bca8a85683d0b3b99ca89fd1e7163660fdb82b8'/>
<id>urn:sha1:6bca8a85683d0b3b99ca89fd1e7163660fdb82b8</id>
<content type='text'>
Rename it to init_keys() so it capture the semantic of initialization
especially that now it returns a InitKeyMaterial.

This is so we don't use this function outside initialization in the
future.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Make FullKewView solely owned by the crypto task</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T16:35:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f9f291e9dc616f4b1b97a5c24a8bccc622f8e93'/>
<id>urn:sha1:6f9f291e9dc616f4b1b97a5c24a8bccc622f8e93</id>
<content type='text'>
This moves commit makes it that FullKewView is not visible outside the
crypto task.

For this, we need to keep the KeyMgr in the inert tor relay struct until
it is passed to the crypto task.

The public keys logging is moved to the run() function of the crypto
task and the try_generate_keys() now returns an InitKeyMaterial struct
which contains the channel authentication key material (for ChanMgr) and
the Ntor keys for the CREATE2 handler.

This way, we cut the need of the FullKeyView in the main thread.

Related to #2548

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Crypto task now listens for new consensus</title>
<updated>2026-05-26T17:29:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-23T19:32:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7bf5fbdd70b331e72e076ce1ea83384f3f02114f'/>
<id>urn:sha1:7bf5fbdd70b331e72e076ce1ea83384f3f02114f</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Set the FullKeyView in InerTorRelay</title>
<updated>2026-05-26T17:29:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-23T18:34:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f4d6983431863e0b179e294d1717314a7f25135f'/>
<id>urn:sha1:f4d6983431863e0b179e294d1717314a7f25135f</id>
<content type='text'>
This is so we early set the FullKeyView and we use it accross the code
from initialization.

The try_generate_keys() now takes a view and locks it to make its
changes.

And we also make build_proto_relay_auth_material() use a view to
simplify its code and also stop relying on the KeyMgr for key accessors.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Spawn new crypto reactor</title>
<updated>2026-05-26T17:29:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-23T16:56:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f44174bc65b2ca7535d87ef9519331a072700f50'/>
<id>urn:sha1:f44174bc65b2ca7535d87ef9519331a072700f50</id>
<content type='text'>
This also remove unused code from this change.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-rtcompat+misc: add `NetStreamProvider::ListenOptions`</title>
<updated>2026-05-07T15:05:57Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-06T23:05:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89790050b66f4eed80b9215b18c893ab7adba298'/>
<id>urn:sha1:89790050b66f4eed80b9215b18c893ab7adba298</id>
<content type='text'>
This adds the trait type `ListenOptions` to `NetStreamProvider` and adds
this `ListenOptions` as an argument to `NetStreamProvider::listen()`.

You probably want to look at the changes in tor-rtcompat first, then the
rest of this commit is updating the various places we use
`NetStreamProvider`.
</content>
</entry>
<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>arti-relays: Pass a CreateRequestHandler to the crypto task (fmt)</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T16:37:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=18f9dbd523878448ca64936e14dc6409487eaf10'/>
<id>urn:sha1:18f9dbd523878448ca64936e14dc6409487eaf10</id>
<content type='text'>
</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>
</feed>
