<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src/lib.rs, branch arti-v1.2.8</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-09-23T13:17:49Z</updated>
<entry>
<title>tor-keymgr: Rename the primary keystore for clarity.</title>
<updated>2024-09-23T13:17:49Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-20T10:20:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80095da1aa47978cdba26c2b3d254a99c075cf53'/>
<id>urn:sha1:80095da1aa47978cdba26c2b3d254a99c075cf53</id>
<content type='text'>
Previously, arti's primary keystore was referred to as its "default"
keystore. However, "default" is inaccurate here: there is no way to
meaningfully override this "default" (the "default" store acts as the
main keystore). Throughout the codebase, we query all keystores for keys
(including the secondary ones), but only ever write to the
default/primary keystore. This is OK for now, because it enables us to
have one mutable keystore, and multiple secondary, read-only stores.
</content>
</entry>
<entry>
<title>relay: Try to generate long-term identity key</title>
<updated>2024-09-18T13:24:04Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-09-10T15:07:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3016d6d8b2f484fa8ec7dea3f2c348b5ebac37c2'/>
<id>urn:sha1:3016d6d8b2f484fa8ec7dea3f2c348b5ebac37c2</id>
<content type='text'>
When creating the KeyMgr, attempt to create the long-term identity key
if none are found in the KeyMgr.

Until the KeyMgr has certificate support, we can't create the
certificate. Add a TODO comment item about future work needed there.

Related to #1604

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Add KeyMgr to TorRelay</title>
<updated>2024-09-18T13:24:04Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-09-09T19:45:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42d372fcae6dbebba54e9c9fe400cf78a21ec71b'/>
<id>urn:sha1:42d372fcae6dbebba54e9c9fe400cf78a21ec71b</id>
<content type='text'>
This is the first step before creating relay key definition and storing
them into a keystore.

The KeyMgr should be passed on the ChanMgr in later commit so the
ChanMgr can use it for the authenticated channel handshake.

Part of #1604

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: add and use `Error`/`ErrorDetail`</title>
<updated>2024-09-05T19:51:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-09-05T18:52:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e496e85a32de0d286225a946c8c1def75cde920'/>
<id>urn:sha1:7e496e85a32de0d286225a946c8c1def75cde920</id>
<content type='text'>
Most of this is copied from `arti_client::err`, but with a lot of stuff
removed to simplify the error types (for example no `error_detail`
feature handling). I tried to keep things generally consistent with
arti-client so that error handling will be similar in both crates.

`TorRelayBuilder::create()` will likely need to be fallible in the
future (for example if spawning a task for the OR port listener fails),
so it now returns a `Result&lt;TorRelay, crate::err::Error&gt;` instead of
just a `TorRelay`.
</content>
</entry>
<entry>
<title>tor-relay: add `ChanMgr` to `TorRelay`</title>
<updated>2024-09-03T22:23:08Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-08-22T14:38:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a8c4f061f30d7481da42ef56bebe60540becae9a'/>
<id>urn:sha1:a8c4f061f30d7481da42ef56bebe60540becae9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-relay: pass config in `TorRelay::create_inner`</title>
<updated>2024-09-03T22:23:08Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-08-22T14:28:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d2c6ab437dfe07eaaf4f40818ed44eea7b0b377'/>
<id>urn:sha1:7d2c6ab437dfe07eaaf4f40818ed44eea7b0b377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>relay: Add basic configuration and builder</title>
<updated>2024-08-20T13:09:31Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-08-19T16:51:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=df0785dcb45d4ec738597a1b9be52975446a6684'/>
<id>urn:sha1:df0785dcb45d4ec738597a1b9be52975446a6684</id>
<content type='text'>
This adds the basic TorRelayConfig object along a builder in order to
create a TorRelay object.

At this commit, the configuration object only holds a "StorageConfig"
which is a simple starting point which will allow to expand to a KeyMgr
and then a ChanMgr along more configuration.

There is also no custom Error for the crate at this point.

Fixes #1534

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>relay: Add relay cargo feature flag and subcommand</title>
<updated>2024-06-11T19:42:50Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-06-03T18:16:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c89db17bb2a9baa94933dd828a543c0cc3ca7631'/>
<id>urn:sha1:c89db17bb2a9baa94933dd828a543c0cc3ca7631</id>
<content type='text'>
Add the optional non default feature flag "relay" that will be used to
enable relay support of arti.

This commit also adds the "relay" subcommand to arti binary conditionnal
on the feature flag in order to have a place holder starting point.

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