| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-config: removed re-export of `CfgPath` | Steven Engler | 2024-11-04 | 1 | -1/+2 |
| | | | | | | Also updated other packages to get `CfgPath` directly from `tor-config-path' instead of 'tor-config'. | ||||
| * | tor-config: Fix indentation in doc comment. | Gabriela Moldovan | 2024-10-09 | 1 | -1/+1 |
| | | | | | | | It looks like my previous attempt from !2516 didn't fix it. This adds an extra space to fix the `doc_lazy_continuation` lint. | ||||
| * | tor-keymgr: Fix indentation in doc comment. | Gabriela Moldovan | 2024-10-09 | 1 | -1/+1 |
| | | | | | | Addresses the `doc_lazy_continuation` lint, fixing the `rust-latest` job that's currently failing on main. | ||||
| * | tor-keymgr: Move C Tor keystore configs under ctor key (fmt). | Gabriela Moldovan | 2024-10-08 | 1 | -5/+10 |
| | | |||||
| * | tor-keymgr: Move C Tor keystore configs under ctor key. | Gabriela Moldovan | 2024-10-08 | 1 | -35/+46 |
| | | | | | | | | This way we have a more intuitive layout, where all C Tor keystore configuration is under the `ctor` key. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2481#note_3090486 | ||||
| * | tor-keymgr: Add tests for the keystore config. | Gabriela Moldovan | 2024-10-08 | 1 | -0/+164 |
| | | |||||
| * | tor-keymgr: Validate keystore ID uniqueness in ArtiKeystoreConfigBuilder. | Gabriela Moldovan | 2024-10-08 | 1 | -1/+23 |
| | | |||||
| * | arti-client: Use the configured C Tor client keystores. | Gabriela Moldovan | 2024-10-08 | 1 | -1/+1 |
| | | |||||
| * | tor-keymgr: Add configuration for C Tor client keystores. | Gabriela Moldovan | 2024-10-08 | 1 | -0/+82 |
| | | | | | | This is intentionally partially mis-indented to make this more reviewable (in case the reviewer isn't using `ignore-all-space`). | ||||
| * | tor-keymgr: Derive Getters for CTorKeystoreConfig. | Gabriela Moldovan | 2024-10-08 | 1 | -1/+1 |
| | | |||||
| * | tor-keymgr: Derive Getters for the ArtiKeystoreConfig. | Gabriela Moldovan | 2024-10-08 | 1 | -1/+2 |
| | | |||||
| * | tor-keymgr: Add configuration for C Tor service keystores. | Gabriela Moldovan | 2024-10-08 | 1 | -3/+201 |
| | | |||||
| * | tor-keymgr: Move config/arti.rs to config.rs | Gabriela Moldovan | 2024-10-08 | 1 | -2/+113 |
| | | | | | | | | | 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` | ||||
| * | tor-keymgr: Add ArtiNativeKeystoreConfig. | Gabriela Moldovan | 2023-07-13 | 1 | -0/+3 |
| Previously, the keystore config consisted of a single field in `StorageConfig`, which encoded 2 bits of information: whether the keystore is enabled, and its root directory: ``` [storage] # use this path, fail if compiled out # keystore = "/path/to/arti/keystore" # # use default path, fail if compiled out # keystore = true # # disable # keystore = false ``` This commit adds `ArtiNativeKeystoreConfig`, which will replace the multi-purpose `keystore` field. The new config will look like this: ``` #[storage.keystore] # Whether the keystore is enabled. # # If the `keymgr` feature is enabled and this option is: # * set to false, we will ignore the configured keystore path. # * set to "auto", the configured keystore, or the default keystore, if the # keystore path is not specified, will be used # * set to true, the configured keystore, or the default keystore, if the # keystore path is not specified, will be used # # If the `keymgr` feature is disabled and this option is: # * set to false, we will ignore the configured keystore path. # * set to "auto", we will ignore the configured keystore path. # # Setting this option to true when the `keymgr` feature is disabled is a # configuration error. #enabled = "auto" # The root directory of the arti keystore #path = "${ARTI_LOCAL_DATA}/keystore" ``` While `ArtiNativeKeystoreConfig` currently only has 2 fields, `enabled` and `path`, future versions of the keystore might require additional config options. | |||||
