<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src, 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: Remove docs type link that are outside scope</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T18:44:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a4753d81830ab4841407cdb1403234a7dbe96afb'/>
<id>urn:sha1:a4753d81830ab4841407cdb1403234a7dbe96afb</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<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: Introduce src/task/crypto/keys.rs</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T17:29:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=173e2086b305d5ee0c29ef6b31017d47af28224b'/>
<id>urn:sha1:173e2086b305d5ee0c29ef6b31017d47af28224b</id>
<content type='text'>
Move all key related action function to keys.rs in order to alleviate
crypto.rs.

The Reactor will get more functionnalities soon so cleanup.

No behavior change, just code movement.

Related to #2548
</content>
</entry>
<entry>
<title>relay: Rename try_rotate_keys_no_lock()</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T17:16:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5de70ef036f84ed5c3d4d02207413c65545f8bd5'/>
<id>urn:sha1:5de70ef036f84ed5c3d4d02207413c65545f8bd5</id>
<content type='text'>
Remove the _no_lock() since no more locks now.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Make FullKeyView pub(super)</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T17:11:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c9c2e59e4439f0153bdeb6cf07c058c0e96abb09'/>
<id>urn:sha1:c9c2e59e4439f0153bdeb6cf07c058c0e96abb09</id>
<content type='text'>
Now, the FullKeyView is officially only seen by the crypto task.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Remove locking of FullKeyView</title>
<updated>2026-05-28T16:11:56Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-27T17:08:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=345662a072edc3868f16a116c83f9ca355b2f9f7'/>
<id>urn:sha1:345662a072edc3868f16a116c83f9ca355b2f9f7</id>
<content type='text'>
No need for the valid_until cache locking that used to ensure coherent
view accross tasks.

As we move towards having the FullKeyView be solely owned by the crypto
task, no need for locking.

Future commit will introduce a control command channel which will be
used to get keys for other tasks.

The valid_until cache is kept though because it helps with key lookups
to avoid walking all keys each time.

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>arti-relay: fix `unused_variables` warning</title>
<updated>2026-05-27T04:05:49Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-05-26T19:35:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a8f54a501ba1f14b965941172218626e0d922a2'/>
<id>urn:sha1:0a8f54a501ba1f14b965941172218626e0d922a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>relay: Use futures::select instead of tokio</title>
<updated>2026-05-26T17:29:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-21T18:16:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=36c1facc09fb2f35beb2550abee188d6e667ea9c'/>
<id>urn:sha1:36c1facc09fb2f35beb2550abee188d6e667ea9c</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
