| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-keymgr: Move config/arti.rs to config.rs | Gabriela Moldovan | 2024-10-08 | 1 | -1/+1 |
| | | | | | | | | | The config will soon contain secondary C Tor keystore configuration too, so the `arti` namespacing is about to stop making sense. I recommend reviewing this commit using `git diff --color-moved=zebra --ignore-space-change` | ||||
| * | Default allow_onion_addrs to true. | Wesley Aptekar-Cassels | 2024-10-07 | 1 | -1/+1 |
| | | | | | | | | This was disabled due to lack of vanguard support. Now that we support vanguards, we should enable this by default. Fixes: #1402 | ||||
| * | tor-keymgr: renamed ArtiNativeKeystoreConfig to ArtiKeystoreConfig | Morgan | 2024-09-20 | 1 | -4/+4 |
| | | |||||
| * | Provide a MemoryQuotaTracker in TorClient | Ian Jackson | 2024-09-04 | 1 | -2/+0 |
| | | | | | Nothing uses this yet. | ||||
| * | arti-client: Unstable cargo feature for exposing info for testing | Ian Jackson | 2024-09-04 | 1 | -0/+9 |
| | | |||||
| * | Look for memquota configuration in the TorClient configuration | Ian Jackson | 2024-09-04 | 1 | -0/+29 |
| | | | | | Tests are not entirely trivial and will come in a moment. | ||||
| * | arti-client: replace `convert_override_net_params` with generic `default_extend` | Steven Engler | 2024-09-03 | 1 | -10/+6 |
| | | |||||
| * | arti-client: Fix a rustdoc warning. | Gabriela Moldovan | 2024-08-28 | 1 | -1/+1 |
| | | |||||
| * | arti-client: Move state_dir() to TorClientConfig. | Gabriela Moldovan | 2024-08-28 | 1 | -0/+14 |
| | | | | | | I am about to use `state_dir()` outside of `TorClient`, so I am preemptively moving it to `TorClientConfig`. | ||||
| * | arti-client: Move BuilderExt to tor-config. | Gabriela Moldovan | 2024-08-05 | 1 | -23/+3 |
| | | | | | | `BuilderExt` will soon be used in tor-hsservice too (for configuring the mistrust settings of the client "restricted mode" authorization keys). | ||||
| * | StorageConfig: complete a missing piece of documentation. | Nick Mathewson | 2024-06-11 | 1 | -1/+1 |
| | | |||||
| * | StorageConfig: Light reformatting. | Nick Mathewson | 2024-06-11 | 1 | -0/+3 |
| | | |||||
| * | tor-guardmgr: Unconditionally define VanguardConfig. | Gabriela Moldovan | 2024-06-03 | 1 | -11/+3 |
| | | | | | | | | | | We want to export the `VanguardConfig` even if the `vanguards` feature is disabled (we will need to unconditionally include it in the arti config). Note that if `vanguards` are disabled, the `VanguardMode` from the `VanguardConfig` can only be `Dsiabled`. | ||||
| * | arti-client: Remove unnecessary VanguardConfig pub use. | Gabriela Moldovan | 2024-06-03 | 1 | -6/+0 |
| | | | | | | | | This is already exported via the `pub mod vanguards` module, so there is no need to export it from the top-level too. This *is* a breaking change, but the downstream fix is trivial (and the type should never have been exported directly from `arti_client::config` in the first place). | ||||
| * | Make TorClientConfig implement AsRef<BridgesConfig> | Nick Mathewson | 2024-04-02 | 1 | -0/+5 |
| | | | | | I believe this is how we expose the parts of TorClientConfig? | ||||
| * | Add tests for configuring unmanaged transports | Nick Mathewson | 2024-03-14 | 1 | -11/+49 |
| | | | | | | Also, adapt the pt configuration tests to check for whether the error messages are as expected. | ||||
| * | Rename ManagedTransportConfig to TransportConfig. | Nick Mathewson | 2024-03-14 | 1 | -7/+7 |
| | | | | | We're going to start using this type for _every_ kind of transport. | ||||
| * | Merge branch 'encapsulate_config_rs' into 'main' | Nick Mathewson | 2024-03-13 | 1 | -2/+2 |
| |\ | | | | | | | | | Encapsulate usage of config-rs inside tor-config. See merge request tpo/core/arti!2040 | ||||
| | * | tor-config: Allow ConfigurationSource to be verbatim text. | Nick Mathewson | 2024-03-13 | 1 | -2/+2 |
| | | | | | | | | | | | This will let us test our configuration logic without having to use the `config` crate directly. | ||||
| * | | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| |/ | |||||
| * | tor-circmgr: Add HsCircPoolConfig, make HsCircPool::reconfigure general-purpose. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+11 |
| | | |||||
| * | arti-client: Add vanguard_config() to CircMgrConfig. | Gabriela Moldovan | 2024-03-11 | 1 | -1/+15 |
| | | |||||
| * | arti-client: Add VanguardsConfig to TorClientConfig. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+9 |
| | | |||||
| * | arti-client: Re-export VanguardsConfig from vanguards module. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+9 |
| | | |||||
| * | arti, arti-client, tor-keymgr: Remove keystore dir configuration. | Gabriela Moldovan | 2024-02-21 | 1 | -28/+0 |
| | | | | | Closes #1202 | ||||
| * | tor-keymgr: Abolish ArtiNativeKeystoreConfig::expand_keystore_dir. | Gabriela Moldovan | 2024-01-10 | 1 | -2/+2 |
| | | | | | | | This resolves a `TODO HSS` in arti-client. Part of #1187 | ||||
| * | 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 |
| | | |||||
| * | 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 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 |
| | | |||||
| * | Added macro for StorageConfig expand dir | rdbo | 2023-11-17 | 1 | -13/+15 |
| | | |||||
| * | arti-client: Re-export onion-service configuration types. | Nick Mathewson | 2023-10-03 | 1 | -0/+6 |
| | | |||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | Use "typos-cli" to fix a bunch of typos. | Nick Mathewson | 2023-08-22 | 1 | -1/+1 |
| | | |||||
| * | arti-client: fix conditional unused_import and dead_code warnings | Nick Mathewson | 2023-08-16 | 1 | -3/+5 |
| | | |||||
| * | arti-client: Use Path::join instead of format!. | Gabriela Moldovan | 2023-08-14 | 1 | -1/+1 |
| | | |||||
| * | arti-client: Make from_directories() derive the keystore_dir from state_dir. | Gabriela Moldovan | 2023-08-11 | 1 | -1/+39 |
| | | | | | Closes #988 | ||||
| * | bridge config: Fix an error message slightly | Ian Jackson | 2023-08-08 | 1 | -1/+1 |
| | | |||||
| * | arti-client config test: partially un-degrade formatting | Ian Jackson | 2023-08-08 | 1 | -10/+10 |
| | | |||||
| * | arti-client config test: degrade formatting | Ian Jackson | 2023-08-08 | 1 | -12/+18 |
| | | | | | As demanded by rustfmt | ||||
| * | arti-client config: Add an extra test case for bridges | Ian Jackson | 2023-08-08 | 1 | -0/+45 |
| | | | | | This complements the new `check_bridge_pt` test. | ||||
| * | bridge config: reject bridges=true when there are no bridges | Ian Jackson | 2023-08-08 | 1 | -2/+0 |
| | | | | | This is a bugfix. Perhaps it is a security fix? | ||||
