Skip to content

arti-client: Add an InertTorClient for accessing client state.

gabi-250 requested to merge gabi-250/arti:reenable-hsc-test into main

Implements a basic version of the TorClientThatIsntRunning mentioned in !2314 (merged) (see also doc/dev/notes/keymgr-porcelain.md). TorClientThatIsntRunning is called InertTorClient in the code.

This MR is mostly code motion: I'm moving the create_keymgr function and the impls of generate_service_discovery_key and get_service_discovery_key from TorClient to InertTorClient.

The InertTorClient advertises itself as a handle for accessing the keystores and other persistent state, but it currently only has 2 functions (generate_service_discovery_key and get_service_discovery_key). I expect it will grow additional functionality in the future.

This change enables us to re-enable some previously disabled tests (see 3f96e90d6f6a67e60fcad2d3b113b64a5cb5628e).

Closes #1496 (closed)

Merge request reports