<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src, 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-26T12:07:09Z</updated>
<entry>
<title>Merge branch 'upgrades-20240925' into 'main'</title>
<updated>2024-09-26T12:07:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-26T12:07:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f478308f0680bc6c9b36ad1c36fdfe8115dc8cf'/>
<id>urn:sha1:3f478308f0680bc6c9b36ad1c36fdfe8115dc8cf</id>
<content type='text'>
Upgrade dependencies in preparation for next week's releases.

See merge request tpo/core/arti!2450</content>
</entry>
<entry>
<title>Merge branch 'rename_singleton_id' into 'main'</title>
<updated>2024-09-25T15:25:52Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-09-25T15:25:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8753eb8294ff4eedf4f4d6ba26e918a7eb1635aa'/>
<id>urn:sha1:8753eb8294ff4eedf4f4d6ba26e918a7eb1635aa</id>
<content type='text'>
rpc: Rename SingletonId to SingleIdResponse

Closes #1585

See merge request tpo/core/arti!2448</content>
</entry>
<entry>
<title>Upgrade to derive_more version 1.0.0</title>
<updated>2024-09-25T14:37:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-25T14:37:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a12c2ba8515226a772d5f4a81930bf42d67535a'/>
<id>urn:sha1:6a12c2ba8515226a772d5f4a81930bf42d67535a</id>
<content type='text'>
The `derive_more` crate broke backward compatibility with this version,
so this change involved quite a few manual fixups.
With luck, they'll keep compatibility for some while in the future.
</content>
</entry>
<entry>
<title>rpc: Rename SingletonId to SingleIdResponse</title>
<updated>2024-09-24T14:23:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-24T14:21:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bd9b29b05de6c133b93366acb69d9e2ce6b126cd'/>
<id>urn:sha1:bd9b29b05de6c133b93366acb69d9e2ce6b126cd</id>
<content type='text'>
Calling it "singleton" might have suggested that it was using the
[singleton pattern](https://en.wikipedia.org/wiki/Singleton_pattern),
which it isn't.

(Renaming done with rust-analyzer and double-checked with `git grep`.)

Closes #1585.
</content>
</entry>
<entry>
<title>CircMgr: Make CircMgr and HsCircPool generic over builder type.</title>
<updated>2024-09-24T13:45:21Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-09-16T16:35:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e6f0b59e595f5ab5bd8d58d3c6aab8dface9a851'/>
<id>urn:sha1:e6f0b59e595f5ab5bd8d58d3c6aab8dface9a851</id>
<content type='text'>
This will allow for testing, as the CircuitBuilder can be replaced with
a mocked version.

This did require moving some of what was in the CircuitBuilder impl into
the AbstractCircuitBuilder type, since Drop implementations can't be
specialized, but that's fine, as we'll probably be doing more of that in
the future anyways.
</content>
</entry>
<entry>
<title>tor-keymgr: Move keystore config under keystore.primary.</title>
<updated>2024-09-23T18:55:23Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-23T14:14:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dcb29c0e5d5ad1c3795baa50f778a0f13d668325'/>
<id>urn:sha1:dcb29c0e5d5ad1c3795baa50f778a0f13d668325</id>
<content type='text'>
The keystore settings only configure the *primary* keystore, so they
should be under `keystore.primary`.
</content>
</entry>
<entry>
<title>arti: Reinstate the keystore.enabled option.</title>
<updated>2024-09-23T18:37:41Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-23T14:08:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c359a7abd1543c53c596e9092350b0810f72765e'/>
<id>urn:sha1:c359a7abd1543c53c596e9092350b0810f72765e</id>
<content type='text'>
This is a follow-up from !2394

I want to keep the `keystore.enabled` option, because I'm planning on
extending `ArtiKeystoreConfig` to support configuring secondary
keystores too (currently, the only supported setting is `keystore.kind`,
which configures the primary keystore). `keystore.enabled` will disable
keystore use altogether (i.e. both primary and secondary).

Currently, we only support configuring the "primary" (previously known
as "default") keystore, which can be either "native" (the on-disk Arti
keystore), or "ephemeral" (an in-memory keystore). To implement #858,
we will need to support configuring additional keystores too, so we will
need to move to a config of the form
```toml
[storage.keystore]
# Whether the keystore is enabled.
#enabled = "auto"

# Configure the primary keystore.
[storage.keystore.primary]
# The type of primary keystore to use
kind = "auto" | "native" | "ephemeral"

# Optionally configure C Tor keystores for arti to use.
#
# Note: The keystores listed here are read-only (keys are only
# ever written to the primary keystore, configured in
# `storage.keystore.primary`).
[[storage.keystore.ctor]]
# If the `kind` is `service`, this should be set to the `HiddenServiceDirectory`
# of your hidden service. Arti will read `HiddenServiceDirectory/hostname`
# and `HiddenServiceDirectory/private_key`. (Note: if your service is running
# in restricted discovery mode, you must set the
# `[[onion_services."&lt;the nickname of your svc&gt;".restricted_discovery.key_dirs]]`
# to `HiddenServiceDirectory/client_keys`
#
# If the `kind` is `client`, this should be set to `ClientOnionAuthDir` of
# your client. If Arti is configured to run as a client (i.e. if it runs in SOCKS
# proxy mode), it will read the client restricted discovery keys from this path.
path  = "/foo/bar"
# The type of keystore `path` should be interpreted as
kind = "client" | "service"
```

This moves the current keystore settings to `storage.keystore.primary`
in preparation for that change.
</content>
</entry>
<entry>
<title>arti-client: Update docs to reflect KeystoreSelector renaming.</title>
<updated>2024-09-23T13:26:02Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-09-23T13:26:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b8f2bdb4d92cba1366e6f217ab24fa83a88203b'/>
<id>urn:sha1:7b8f2bdb4d92cba1366e6f217ab24fa83a88203b</id>
<content type='text'>
</content>
</entry>
<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>arti-client: added support for constructing ArtiEphemeralKeystore to InertTorClient::create_keymgr()</title>
<updated>2024-09-20T23:13:14Z</updated>
<author>
<name>Morgan</name>
<email>morgan@torproject.org</email>
</author>
<published>2024-09-07T17:58:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=23f8823994abf7ed02b3191035903f413f0dd5e9'/>
<id>urn:sha1:23f8823994abf7ed02b3191035903f413f0dd5e9</id>
<content type='text'>
</content>
</entry>
</feed>
