| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | tor-hsclient: Rename HsClientSpecifier to HsClientNickname. | Gabriela Moldovan | 2024-01-31 | 1 | -2/+2 | |
| | | | | | | Service nicknames are represented by `HsNickname`, so let's rename `HsClientSpecifier` to `HsClientNickname`. | |||||
| * | tor-hsservice: Store the StateMgr inside OnionServiceState. | Gabriela Moldovan | 2024-01-18 | 1 | -3/+5 | |
| | | | | | | | This introduces an internal `OnionServiceStateMgr` trait, which enables us to store the `StateMgr` inside the `OnionServiceState` (without having to parameterize `OnionServiceState` on `S: StateMgr`). | |||||
| * | arti-client: Move state_dir and mistrust handling to separate function. | Gabriela Moldovan | 2024-01-18 | 1 | -11/+19 | |
| | | | | | This reduces code duplication. | |||||
| * | arti-client: Move keymgr creation to TorClient::create_keymgr. | Gabriela Moldovan | 2024-01-18 | 1 | -49/+34 | |
| | | | | | | This code was duplicated by `create_inner()` and `create_onion_service()`. | |||||
| * | tor-hsservice: Do not store the StateMgr in OnionService. | Gabriela Moldovan | 2024-01-18 | 1 | -13/+7 | |
| | | | | | | | | The `StateMgr` is currently only needed in `launch()`, so we don't really need to store it. This allows us to unparameterize OnionService. | |||||
| * | arti-client: Add a function for creating OnionServices. | Gabriela Moldovan | 2024-01-18 | 1 | -0/+58 | |
| | | | | | | This will be used from `arti` to create an `OnionService`, to implement the `arti hss` command. | |||||
| * | tor-hsservice: Create a separate RunningOnionService type. | Gabriela Moldovan | 2024-01-18 | 1 | -5/+8 | |
| | | | | | | | | | This will enable us to construct non-launched (but configured) `OnionService`s. We need this, for example, for implementing the `arti hss` CLI command. Part of #1227 | |||||
| * | arti-client Remove a TODO hs that is no longer relevant. | Gabriela Moldovan | 2024-01-11 | 1 | -1/+0 | |
| | | ||||||
| * | arti-client: Add ErrorDetail::KeystoreRequired. | Gabriela Moldovan | 2024-01-11 | 2 | -4/+12 | |
| | | | | | | This addresses a `TODO HSS` about not using `internal!` for an error caused by misconfiguration. | |||||
| * | arti-client: Turn a TODO hs into #858. | Gabriela Moldovan | 2024-01-11 | 1 | -1/+1 | |
| | | ||||||
| * | arti-client: Turn a TODO HSS into #1106. | Gabriela Moldovan | 2024-01-11 | 1 | -1/+1 | |
| | | ||||||
| * | Merge branch 'expand-keystore-dir' into 'main' | gabi-250 | 2024-01-11 | 2 | -6/+4 | |
| |\ | | | | | | | | | tor-keymgr: Abolish ArtiNativeKeystoreConfig::expand_keystore_dir. See merge request tpo/core/arti!1867 | |||||
| | * | tor-keymgr: Abolish ArtiNativeKeystoreConfig::expand_keystore_dir. | Gabriela Moldovan | 2024-01-10 | 2 | -6/+4 | |
| | | | | | | | | | | | | | This resolves a `TODO HSS` in arti-client. Part of #1187 | |||||
| * | | tor-hsclient: Derive the KeySpecifier implementation (fmt). | Gabriela Moldovan | 2024-01-10 | 1 | -4/+2 | |
| | | | ||||||
| * | | tor-hsclient: Derive the KeySpecifier implementation. | Gabriela Moldovan | 2024-01-10 | 1 | -3/+2 | |
| |/ | | | | | | | | This addresses a `TODO HSS` about deriving the `KeySpecifier` implementation for client key specifiers. Note that we no longer have a key specifier type for intro auth keys (which are not supported anyway, see #1037). | |||||
| * | arti_client: Change ephemeral-service TODO HSS comments to #1186. | Nick Mathewson | 2024-01-09 | 1 | -3/+3 | |
| | | ||||||
| * | arti-client::client: remove TODO HSS that is no longer true. | Nick Mathewson | 2024-01-09 | 1 | -2/+0 | |
| | | ||||||
| * | arti-client::config: Turn a TODO HSS into #1185. | Nick Mathewson | 2024-01-09 | 1 | -1/+1 | |
| | | ||||||
| * | Merge branch 'public-dir-mgr-config' into 'main' | Ian Jackson | 2024-01-09 | 1 | -1/+1 | |
| |\ | | | | | | | | | | | | | dirmgr: Make the `dir_mgr_config` method public Closes #1175 See merge request tpo/core/arti!1847 | |||||
| | * | dirmgr: Make the `dir_mgr_config` method public | Emil Engler | 2024-01-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | This commit makes the `dir_mgr_config` method of the `TorClientConfig` struct public. It might be questionable whether we should make this function public or switch to a `TryInto` trait in general, which also seems like an even Rustier solution Rustier solution. Fixes #1175 | |||||
| * | | Fix typos | Dimitris Apostolou | 2024-01-08 | 1 | -1/+1 | |
| |/ | ||||||
| * | arti-client: Add an accessor for the keystore config. | Gabriela Moldovan | 2023-12-14 | 1 | -0/+5 | |
| | | ||||||
| * | Merge branch 'keymgr_enabled_default' into 'main' | Nick Mathewson | 2023-12-13 | 1 | -24/+12 | |
| |\ | | | | | | | | | arti_client: Cleanup around keymgr feature and config See merge request tpo/core/arti!1832 | |||||
| | * | arti_config: remove experimental-api as way to enable keymgr. | Nick Mathewson | 2023-12-13 | 1 | -7/+4 | |
| | | | | | | | | | | | keymgr is always on when it is needed, so experimental-api isn't needed here. | |||||
| | * | arti-client: use sub_builder for ArtiNativeKeystoreConfig | Nick Mathewson | 2023-12-13 | 1 | -10/+3 | |
| | | | | | | | | | | | | | | | | | | | The sub_builder pattern changes `StorageConfigBuilder` so that instead of holding an `Option<ArtiNativeKeystoreConfig>`, it holds an `ArtiNativeKeystoreConfigBuilder`. This makes it a little more ergonomic to use from Rust, and lets us use defaults for the builder fields so that we can make them optional in our configuration. | |||||
| | * | arti_client: enable keymgr when keymgr feature is configured | Nick Mathewson | 2023-12-13 | 1 | -11/+9 | |
| | | | | | | | | | | | | | | | This change causes arti_client to have a configurable keymgr when the onion-service-service feature is present, so that you no longer need to configure "experimental" or "experimental-api" as well in order to get a working onion service. | |||||
| * | | arti-client: TorClient.storage_mistrust: Correct doc comment | Ian Jackson | 2023-12-13 | 1 | -1/+6 | |
| | | | ||||||
| * | | tor-hsservice: Plumb state dir and its mistrust into ipt_mgr | Ian Jackson | 2023-12-13 | 1 | -1/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | This is needed for the replay logs. It's a shame that CheckedDir is (i) a bit unergonomic (ii) has an extra bool in it, or we could pass one of those instead of these two arguments. Since HS's might be created after startup, TorClient must have these fields. | |||||
| * | | arti-client: Centralise state_dir variable (fmt) | Ian Jackson | 2023-12-13 | 1 | -5/+2 | |
| | | | ||||||
| * | | arti-client: Centralise state_dir variable | Ian Jackson | 2023-12-13 | 1 | -3/+4 | |
| |/ | | | | | Call expand_state_dir only once. We'll reuse this value, another time, too. | |||||
| * | Add NOTEs about similar code for address types. | Nick Mathewson | 2023-12-12 | 1 | -1/+6 | |
| | | ||||||
| * | tor-keymgr: ArtiPathSyntaxError: rename from ArtiPathError | Ian Jackson | 2023-12-07 | 1 | -1/+1 | |
| | | | | | | The previous name was ambiguous, and confusable with KeyPathError (of which it is, basically, a variant). | |||||
| * | arti config: Declare who is supposed to add path leaf components | Ian Jackson | 2023-12-04 | 1 | -0/+10 | |
| | | | | | | | Currently some components do this one way, and some the other. This is confusing. We should do it one way. This way is slightly better because it makes navigation with `grep` easier. | |||||
| * | tor-dirmgr: Rename DirMgrConfig.cache_path to cache_dir | Ian Jackson | 2023-12-04 | 1 | -1/+1 | |
| | | | | | | | This variable contains precisely the value of cache_dir from arti_client::config::StorageConfig and it should therefore have the same name. | |||||
| * | arti config: Declare cache_dir /var/cache like nature | Ian Jackson | 2023-12-04 | 1 | -0/+5 | |
| | | ||||||
| * | arti config: Declare cache_dir is not necessarily just the Tor directory | Ian Jackson | 2023-12-04 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Abolish KeyMgr::new. | Gabriela Moldovan | 2023-11-27 | 1 | -2/+7 | |
| | | | | | We don't use this now that we have a `KeyMgrBuilder`. | |||||
| * | arti-client: Stop using HsClientIntroAuthKeypair for client auth. | Gabriela Moldovan | 2023-11-20 | 1 | -15/+1 | |
| | | | | | Closes #1037 | |||||
| * | Merge branch 'main' into 'main' | gabi-250 | 2023-11-17 | 1 | -13/+15 | |
| |\ | | | | | | | | | Added macro for StorageConfig expand dir See merge request tpo/core/arti!1728 | |||||
| | * | Added macro for StorageConfig expand dir | rdbo | 2023-11-17 | 1 | -13/+15 | |
| | | | ||||||
| * | | arti-client test: add clippy exception | Jim Newsome | 2023-11-16 | 1 | -0/+1 | |
| |/ | | | | This clippy rule appears to be enabled by default in Rust 1.74.0 | |||||
| * | Send less information in onion service BEGIN messages | Nick Mathewson | 2023-11-15 | 1 | -1/+9 | |
| | | | | | | | | | | While looking for differences, we found that C tor always omits the flags and the hostname from a BEGIN message sent on an onion service circuit. In torspec!179, we specified that behavior. This patch brings arti into conformance. Closes #1077. | |||||
| * | hsclient: Rename get_or_launch{connection => circuit} | Nick Mathewson | 2023-10-24 | 1 | -1/+1 | |
| | | | | | Closes #1078. | |||||
| * | tor-hsclient, arti-client: Make BadClientSpecifier wrap an ArtiPathError. | Gabriela Moldovan | 2023-10-19 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Use ArtiPathError for invalid ArtiPaths. | Gabriela Moldovan | 2023-10-19 | 2 | -2/+7 | |
| | | ||||||
| * | arti-client: Re-export onion-service configuration types. | Nick Mathewson | 2023-10-03 | 1 | -0/+6 | |
| | | ||||||
| * | arti-client: fix up launch_onion_service a bit. | Nick Mathewson | 2023-10-03 | 1 | -10/+19 | |
| | | | | | Return a stream of requests, and document what to do with them. | |||||
| * | hss: actually provide a stream of RendRequest from launch(). | Nick Mathewson | 2023-09-27 | 1 | -1/+1 | |
| | | ||||||
| * | tor-hsservice: Run cargo fmt. | Gabriela Moldovan | 2023-09-27 | 1 | -3/+1 | |
| | | ||||||
| * | tor-hsservice: Make Launchable a non-async trait. | Gabriela Moldovan | 2023-09-27 | 1 | -1/+0 | |
| | | | | | | This doesn't need to be an async_trait now that `Publisher::launch` is no longer async. | |||||
