<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src/tasks/crypto.rs, 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>relay: Modify RelayNtorKeys to use a constructor</title>
<updated>2026-04-21T18:01:27Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-21T14:27:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e84f73d564b71c386b4e18020da0093839a8874a'/>
<id>urn:sha1:e84f73d564b71c386b4e18020da0093839a8874a</id>
<content type='text'>
Because of the sorting requirement and the fact that a `KeyMgr` can have
multiple Ntor keys, the caller now explicitly extract the two Ntor keys
it wants from the `KeyMgr` and then creates a `RelayNtorKeys` object
with them.

Future changes (#2495) will move this into a view and warn if there are
more than 2 keys.

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>relay: Sort Ntor keys by valid_until</title>
<updated>2026-04-21T18:01:27Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-04-16T16:02:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=158e43adad6ed3c4e1312057376f3f63b22997fd'/>
<id>urn:sha1:158e43adad6ed3c4e1312057376f3f63b22997fd</id>
<content type='text'>
This is when we get them from the keystore so we can have a concept of
ordering in the SmallVec.

Future commit will transform this into a struct handling both keys.

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: Use a SmallVec for the ntor keys</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T16:51:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=589b0008dc93276b87897f6edb8e7721693ecb74'/>
<id>urn:sha1:589b0008dc93276b87897f6edb8e7721693ecb74</id>
<content type='text'>
Usually, there will only be two of these.
</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>arti-relay: Add tests for the ntor key rotation</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T09:50:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1ae45332f1bf8372b45421075c726ed3956cc49f'/>
<id>urn:sha1:1ae45332f1bf8372b45421075c726ed3956cc49f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: Test that 1 ntor key gets generated on first run</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T09:36:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0dd672294032fbde4cdb3f9116e6219c76a8a2b2'/>
<id>urn:sha1:0dd672294032fbde4cdb3f9116e6219c76a8a2b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: Dedupe test helper</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T09:34:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f62af2ec67a97465330c441faf36683f957e1039'/>
<id>urn:sha1:f62af2ec67a97465330c441faf36683f957e1039</id>
<content type='text'>
I am about to add another one of these, so I tried to deduplicate the
impls a bit.
</content>
</entry>
<entry>
<title>arti-relays: Extend existing tests to check ntor key rotation (fmt)</title>
<updated>2026-04-09T17:34:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-09T09:35:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2cbef000506db5144bd6a4b8cedf1b8451ff4f86'/>
<id>urn:sha1:2cbef000506db5144bd6a4b8cedf1b8451ff4f86</id>
<content type='text'>
</content>
</entry>
</feed>
