| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | arti-client: add path resolver to `TorClient` and `TorClientConfig` | Steven Engler | 2024-11-18 | 4 | -41/+70 | |
| | | | | | | | | | | | | | Rather than using `arti_client::config::path_resolver()`, third-party code can get the path resolver using `TorClientConfig`s `AsRef<CfgPathResolver>` impl instead. | |||||
| * | | arti-client: add a more-comprehensive cfg variable test | Steven Engler | 2024-11-18 | 1 | -10/+35 | |
| | | | ||||||
| * | | arti-client: moved two tests from tor-config-path | Steven Engler | 2024-11-18 | 2 | -23/+20 | |
| | | | | | | | | | Also updated to use the `PATH_RESOLVER` resolver. | |||||
| * | | update `CfgPath::path` to use a `CfgPathResolver` | Steven Engler | 2024-11-18 | 12 | -144/+219 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a big change across multiple crates since there isn't a good way to break it up. This changes the signature of `CfgPath::path` to: ``` pub fn path(&self, path_resolver: &CfgPathResolver) -> Result<PathBuf, CfgPathError> { ``` Making this change means that our global `CfgPathResolver` needs to be stored in the 'arti-client' library instead of `tor-config-path`, and must be passed through to anything that calls `path` to expand the variables. | |||||
| * | | tor-ptmgr: pass through the `CfgPathResolver` | Steven Engler | 2024-11-18 | 3 | -3/+19 | |
| | | | ||||||
| * | | tor-hsservice: pass through the `CfgPathResolver` | Steven Engler | 2024-11-18 | 6 | -15/+55 | |
| | | | ||||||
| * | | tor-config-path: begin using the `CfgPathResolver` | Steven Engler | 2024-11-18 | 1 | -20/+28 | |
| | | | ||||||
| * | | tor-config-path: add unused `CfgPathResolver` | Steven Engler | 2024-11-18 | 1 | -1/+60 | |
| | | | ||||||
| * | | tor-config-path: moved 'impl Display for CfgPath' block | Steven Engler | 2024-11-18 | 1 | -9/+9 | |
| | | | ||||||
| * | | tor-config-path: moved two tests | Steven Engler | 2024-11-18 | 1 | -35/+35 | |
| | | | | | | | | | | | These tests were in the 'test_serde' module, which wasn't the right place for them. | |||||
| * | | Merge branch 'dummy-keymgr-docs' into 'main' | Ian Jackson | 2024-11-18 | 2 | -14/+30 | |
| |\ \ | | | | | | | | | | | | | | | | | | | tor-keymgr: Explain why the dummy keymgr is missing some functions. Closes #1732 See merge request tpo/core/arti!2631 | |||||
| | * | | tor-keymgr: Say that another option is to enable keymgr unconditionally. | Gabriela Moldovan | 2024-11-14 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | This commit applies Diziet's suggestion from https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2631#note_3130234 | |||||
| | * | | tor-keymgr: Remove a couple of dummy KeyMgr functions. | Gabriela Moldovan | 2024-11-14 | 2 | -14/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | These are not actually needed anywhere. In fact, it's a bad idea to have them in the first place (see the comment from the dummy `KeyMgr` impl block). | |||||
| | * | | tor-keymgr: Explain why the dummy keymgr is missing some functions. | Gabriela Moldovan | 2024-11-14 | 1 | -1/+28 | |
| | |/ | | | | | | | | | | | | | | | This is based on a recent discussion with @Diziet on IRC. For the full context, see the chat log attached to the ticket. Closes #1732 | |||||
| * | | arti-relay: small change to log level comment | Steven Engler | 2024-11-14 | 1 | -1/+1 | |
| | | | | | | | | | | | In arti this option is just a convenience function to override the configuration option, so we'll probably want to do the same thing. | |||||
| * | | arti-relay: remove TODO comment about runtimes | Steven Engler | 2024-11-14 | 1 | -7/+3 | |
| | | | ||||||
| * | | arti-relay: remove runtime/tls-related features | Steven Engler | 2024-11-14 | 2 | -24/+3 | |
| |/ | ||||||
| * | arti-relay: add cli tests | Steven Engler | 2024-11-13 | 1 | -0/+35 | |
| | | ||||||
| * | arti-relay: add 'build-info' subcommand | Steven Engler | 2024-11-13 | 3 | -0/+57 | |
| | | ||||||
| * | arti-relay: add clap for cli | Steven Engler | 2024-11-13 | 3 | -2/+111 | |
| | | | | | The options are inspired by the arti cli interface. | |||||
| * | arti-relay: add 'test-all-crates' and 'matrix-check' exceptions | Steven Engler | 2024-11-13 | 1 | -0/+4 | |
| | | ||||||
| * | arti-relay: add 'default-runtime' feature | Steven Engler | 2024-11-13 | 1 | -2/+4 | |
| | | ||||||
| * | tor-chanmgr: fix reconfigure bug when given `CheckAllOrNothing` | Steven Engler | 2024-11-12 | 1 | -2/+9 | |
| | | | | | We shouldn't actually reconfigure anything if given `CheckAllOrNothing`. | |||||
| * | cargo: Update `thiserror` to `2` | Clara Engler | 2024-11-12 | 54 | -79/+79 | |
| | | ||||||
| * | fs-mistrust: Remove outdated thiserror syntax | Clara Engler | 2024-11-12 | 1 | -1/+1 | |
| | | | | | | | This commit removes an outdated syntax in a `thiserror` macro which will be removed in `thiserror` version 2. The change this commit makes is backwards compatible in itself. | |||||
| * | Merge branch 'remove-debug-panic' into 'main' | Alexander Hansen Færøy | 2024-11-12 | 2 | -7/+1 | |
| |\ | | | | | | | | | tor-chanmgr: remove panics in debug builds See merge request tpo/core/arti!2625 | |||||
| | * | tor-chanmgr: remove panics in debug builds | Steven Engler | 2024-11-11 | 2 | -7/+1 | |
| | | | | | | | | | | | | | These were supposed to fail loudly in debug builds by panicking, but panics are mostly useless for debugging in async applications that use a runtime which catches panics. So we'll just log the error instead. | |||||
| * | | Merge branch 'remove-deadcode' into 'main' | Nick Mathewson | 2024-11-12 | 1 | -41/+0 | |
| |\ \ | |/ |/| | | | | | tor-config-path: remove exploratory code in comment See merge request tpo/core/arti!2610 | |||||
| | * | tor-config-path: remove exploratory code in comment | Nick Mathewson | 2024-11-04 | 1 | -41/+0 | |
| | | | | | | | | | | | I meant to remove this after confirming that the current approach works; but apparently I never did. | |||||
| * | | Merge branch 'tor-proto_benchmarks' into 'main' | gabi-250 | 2024-11-11 | 11 | -0/+643 | |
| |\ \ | | | | | | | | | | | | | tor-proto: Add benchmarks for cell encryption and decryption See merge request tpo/core/arti!2608 | |||||
| | * | | tor-proto: change the case of the macros | Lionel Goffaux | 2024-11-08 | 2 | -6/+6 | |
| | | | | ||||||
| | * | | tor-proto: condition benchmarks to the bench feature | Lionel Goffaux | 2024-11-06 | 1 | -0/+4 | |
| | | | | ||||||
| | * | | tor-proto: put every bench_utils mod behind the bench feature | Lionel Goffaux | 2024-11-06 | 4 | -4/+4 | |
| | | | | ||||||
| | * | | tor-proto: add macro for encryption/decryption bench setup | Lionel Goffaux | 2024-11-06 | 2 | -96/+47 | |
| | | | | ||||||
| | * | | tor-proto: use as_nanos for CpuTime | Lionel Goffaux | 2024-11-06 | 1 | -1/+5 | |
| | | | | ||||||
| | * | | tor-proto: change the visibility of the RelayBody inner struct | Lionel Goffaux | 2024-11-06 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-proto: remove inlines attributes | Lionel Goffaux | 2024-11-06 | 2 | -4/+0 | |
| | | | | ||||||
| | * | | tor-proto: add a bench feature | Lionel Goffaux | 2024-11-06 | 2 | -0/+2 | |
| | | | | ||||||
| | * | | tor-proto: rename CPUTime to CpuTime | Lionel Goffaux | 2024-11-06 | 5 | -16/+15 | |
| | | | | ||||||
| | * | | tor-proto: Add benchmarks for cell encryption and decryption | Lionel Goffaux | 2024-11-04 | 11 | -0/+687 | |
| | |/ | ||||||
| * | | Merge branch 'proto-typo' into 'main' | Ian Jackson | 2024-11-06 | 1 | -2/+2 | |
| |\ \ | | | | | | | | | | | | | tor-proto: Document RecvWindow::take more accurately. See merge request tpo/core/arti!2611 | |||||
| | * | | tor-proto: Document RecvWindow::take more accurately. | Gabriela Moldovan | 2024-11-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | | The docs here seem wrong, so I am updating them. | |||||
| * | | | tor-dirmgr: don't support changing `DirMgrConfig::cache_trust` | Steven Engler | 2024-11-05 | 2 | -0/+5 | |
| | | | | | | | | | | | | | | | | `DirMgrConfig::update_from_config` uses the old value and not the new value, so it should be reported using `Reconfigure::cannot_change`. | |||||
| * | | | arti-client: add doc comment to `TorClient::reconfigure` | Steven Engler | 2024-11-05 | 1 | -0/+4 | |
| | | | | ||||||
| * | | | Merge branch 'remove-haskind' into 'main' | Ian Jackson | 2024-11-05 | 3 | -16/+4 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | tor-hscrypto: Abolish the HasKind impl of HsIdParseError. Closes #1483 See merge request tpo/core/arti!2607 | |||||
| | * | | | arti-client: Clarify when BadOnionAddress is returned. | Gabriela Moldovan | 2024-11-04 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | We only ever return `BadOnionAddress` is we are asked to connect to a .onion address that doesn't parse. | |||||
| | * | | | tor-hscrypto: Abolish the HasKind impl of HsIdParseError. | Gabriela Moldovan | 2024-11-04 | 3 | -16/+2 | |
| | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Also changes the `ErrorKind` of `BadOnionAddress` to `ForbbiddenStreamTarget`. See context in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2246#note_3045683 Closes #1483 | |||||
| * | | | tor-config-path: update `unix_literal` test to use `USER_HOME` | Steven Engler | 2024-11-04 | 1 | -2/+2 | |
| | |/ |/| | | | | | I think `USER_HOME` was intended here. | |||||
| * | | tor-config: added breaking changes to 'semver.md' | Steven Engler | 2024-11-04 | 1 | -0/+3 | |
| | | | ||||||
| * | | tor-config-path: re-enable 'test_parse' test | Steven Engler | 2024-11-04 | 2 | -9/+20 | |
| | | | | | | | | | | | The old code used a shortcut to access the `Figment` directly, but we need to do the whole config builder thing to be able to parse the toml. | |||||
