<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src/tasks, branch arti-v2.2.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.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-03-24T16:04:08Z</updated>
<entry>
<title>Fix typos</title>
<updated>2026-03-24T16:04:08Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-24T16:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1fb2b8dd4aee7c943ce90d6631be473f2a296fe6'/>
<id>urn:sha1:1fb2b8dd4aee7c943ce90d6631be473f2a296fe6</id>
<content type='text'>
Typos found with codespell
</content>
</entry>
<entry>
<title>relay: Pass now() instead of the runtime in the crypto task</title>
<updated>2026-03-17T19:07:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-17T18:38:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bbcf6e2a5b03c89f87da6d93146586f5fdc57727'/>
<id>urn:sha1:bbcf6e2a5b03c89f87da6d93146586f5fdc57727</id>
<content type='text'>
This way we get the whole task job to be aligned on one single now value
to avoid potential inconsistencies between expiry and key generation.

Fixes #2404

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Add crypto tasks unit test</title>
<updated>2026-03-17T19:07:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-16T19:02:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7fdd557fbee68a193538a4974221879526f6edae'/>
<id>urn:sha1:7fdd557fbee68a193538a4974221879526f6edae</id>
<content type='text'>
Tests the key rotation code.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Use same wallclock() time when generating keys</title>
<updated>2026-03-17T19:07:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-16T17:34:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fbfa9b8b4467eed1488342437d47a554a1335826'/>
<id>urn:sha1:fbfa9b8b4467eed1488342437d47a554a1335826</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Make the crypto tasks use the runtime wallclock</title>
<updated>2026-03-17T19:07:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-16T17:25:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c2b94eead2f8314d47425290f4f7a21cea72a992'/>
<id>urn:sha1:c2b94eead2f8314d47425290f4f7a21cea72a992</id>
<content type='text'>
This way we can unit tests properly.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Rewrite the rotation key logic in the crypto task</title>
<updated>2026-03-17T19:07:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-12T19:23:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2ffce9efd3b3dd30a0cbfd7e7af5484dc1f7031f'/>
<id>urn:sha1:2ffce9efd3b3dd30a0cbfd7e7af5484dc1f7031f</id>
<content type='text'>
This is almost a full rewrite of the crypto task which was needed in
order to support our relay signing certificate to be put in the keystore
which will be needed for the offline key feature.

Instead of having rotate_key() do all the things, we now instead do two
pass:

1. Remove all expired keys and certs.
2. Generate any missing keys.

This still results in using the minimum valid_until of all our keys for
the task sleep time.

We can know cleanup the local trait used for this gymnastic and trade it
for some more KeyMgr gymnastic.

Fixes #2404

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Don't log warn if key already exists when generating one</title>
<updated>2026-03-17T19:07:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-12T15:30:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b94bffc2dbc3512a8590464169f586fd0b240972'/>
<id>urn:sha1:b94bffc2dbc3512a8590464169f586fd0b240972</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Remove leftover comment from previous code iteration</title>
<updated>2026-03-17T19:07:06Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-12T15:17:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0fee5984d0eaba66e39f2f5e9a177d1c516b920'/>
<id>urn:sha1:f0fee5984d0eaba66e39f2f5e9a177d1c516b920</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: use `debug_report` for failed channels</title>
<updated>2026-02-26T19:41:15Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-02-26T19:34:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5cfd7193a50a92d78174b1e085cf20bbdefd18d5'/>
<id>urn:sha1:5cfd7193a50a92d78174b1e085cf20bbdefd18d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>proto: The AUTHENTICATE cell requires the SHA256 RSA identity digest</title>
<updated>2026-02-26T16:40:59Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-02-26T14:00:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=259f29798dd832cf5013ba7a3c5d888eebd290fb'/>
<id>urn:sha1:259f29798dd832cf5013ba7a3c5d888eebd290fb</id>
<content type='text'>
Before this commit, we would use the RsaIdentity which is a SHA1 digest.
We do the same for the peer RSA key.

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