<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src/tasks/crypto, 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-07-28T15:49:21Z</updated>
<entry>
<title>relay: Pass the desc task TX to the crypto task</title>
<updated>2026-07-28T15:49:21Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-06-02T13:09:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8ebd10515a37e8615a84b06b76b7dcbea79900ba'/>
<id>urn:sha1:8ebd10515a37e8615a84b06b76b7dcbea79900ba</id>
<content type='text'>
The crypto task can now signal the descriptor task that the keys have
changed related to the relay descriptor (signing key and ntor keys) so
a new descriptor can be built and uploaded.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: simplify tests by removing some `Arc`s</title>
<updated>2026-07-20T15:32:59Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-20T15:14:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e0b041ce236f19c04cbb8590dae690bd5277a5e1'/>
<id>urn:sha1:e0b041ce236f19c04cbb8590dae690bd5277a5e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: make `FullKeyView` generic over a `Borrow&lt;KeyMgr&gt;`</title>
<updated>2026-07-20T15:32:59Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-07-20T14:50:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9e27330eeca44629ce4089cd615daf72358a0df7'/>
<id>urn:sha1:9e27330eeca44629ce4089cd615daf72358a0df7</id>
<content type='text'>
Now it can be used with `KeyMgr` and `&amp;KeyMgr`, not only `Arc&lt;KeyMgr&gt;`.
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</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: 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: Avoid using super::super:: and instead import</title>
<updated>2026-05-26T17:29:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-21T18:13:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b0147bbb57d10580c0f85fa0a66cfeb06e9fe5e9'/>
<id>urn:sha1:b0147bbb57d10580c0f85fa0a66cfeb06e9fe5e9</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Use a struct for key valid_until cache</title>
<updated>2026-05-26T17:29:05Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-05-21T18:02:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b5ae56450b4a313dac16c23f687bd9e0967dd0be'/>
<id>urn:sha1:b5ae56450b4a313dac16c23f687bd9e0967dd0be</id>
<content type='text'>
Instead of a HashMap, use a struct that contains explicit valid_until
value per key type as those won't change anytime soon.

This is to have a smaller memory footprint and simpler design.

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