summaryrefslogtreecommitdiff
path: root/crates/arti
Commit message (Collapse)AuthorAgeFilesLines
* release: Bump `arti` version to 2.0.0.Wesley Aptekar-Cassels2026-02-021-1/+1
|
* release: Bump `arti-*` and `tor-*` crates to 0.39.0Wesley Aptekar-Cassels2026-02-021-26/+26
| | | | | | | | | | Done via: ``` for crate in $(./maint/list-crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.39.0 done ```
* Merge branch 'legacy-port-config' into 'main'wesleyac2026-02-024-128/+31
|\ | | | | | | | | | | | | arti: Remove `proxy.socks_port` and `proxy.dns_port` Closes #2300 See merge request tpo/core/arti!3622
| * arti: remove `resolve_listen_port!` macroSteven Engler2026-01-291-35/+0
| | | | | | | | | | | | I'm undecided whether we want to keep `resolve_alternative_specs` around, but it seems possible/likely that we'll want it in the future, so I think we can keep it.
| * arti: remove deprecated `proxy.dns_port` config optionSteven Engler2026-01-294-20/+6
| |
| * arti: remove deprecated `proxy.socks_port` config optionSteven Engler2026-01-294-21/+11
| |
| * arti: small changes to socks/dns listen config testsSteven Engler2026-01-291-16/+13
| |
| * arti: relax '_listen'/'_port' config compat testsSteven Engler2026-01-291-40/+2
| | | | | | | | | | This is in preparation for removing the `listen_port` and `dns_port` config options.
| * arti: reword+reformat warning messageSteven Engler2026-01-291-1/+4
| |
* | Merge branch 'main' into 'main'gabi-2502026-02-021-1/+1
|\ \ | | | | | | | | | | | | fix(minver): Update paste dependency to be minver compatible See merge request tpo/core/arti!3610
| * | fix(minver): Update paste dependency to be minver compatibleSamuel Cobb2026-01-261-1/+1
| | |
* | | cli_tests: Rename tests for clarity and consistencyGabriela Moldovan2026-02-021-3/+3
| | |
* | | cli_tests: Insert spacing between top-level itemsGabriela Moldovan2026-02-021-0/+8
| | | | | | | | | | | | For readability.
* | | cli_tests: Fix typo in test nameGabriela Moldovan2026-02-021-2/+2
| | |
* | | cli_tests: Clarify a comment in ctor-migrate testGabriela Moldovan2026-02-021-1/+1
| | |
* | | cli_tests: Rename test closure for clarityGabriela Moldovan2026-02-021-3/+3
| | | | | | | | | | | | | | | The previous name was misleading (the closure asserts the exact opposite).
* | | Add integration test suite for `hsc ctor-migrate` subcommandhjrgrn2026-02-0218-91/+485
| | |
* | | Merge branch 'release-2.0.0-fixup-features' into 'main'wesleyac2026-01-291-0/+1
|\ \ \ | |_|/ |/| | | | | | | | release: run fixup-features. See merge request tpo/core/arti!3620
| * | release: run fixup-features.Wesley Aptekar-Cassels2026-01-291-0/+1
| | |
* | | arti: Do not panic when invalid ports are given as arguments to proxyNiel Duysters2026-01-301-2/+8
|/ / | | | | | | Use anyhow::Context to wrap error in useful message.
* | arti: Pass the request by referenceGabriela Moldovan2026-01-271-2/+2
| | | | | | | | This resolves a newly-triggered lint.
* | arti: Make internal helper synchronousGabriela Moldovan2026-01-271-2/+2
| |
* | maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-272-0/+2
| | | | | | | | This adds the lint to all our crates.
* | arti: Make tor-proto dependency unconditionalNick Mathewson2026-01-271-3/+3
| | | | | | | | We now need it whether or not http-connect is enabled.
* | arti: Downgrade CircuitClosed to debug level.Nick Mathewson2026-01-221-3/+20
| | | | | | | | | | | | | | This isn't the long-term solution to error reporting and proxies, but it is a start that we can work from. Closes #2304.
* | arti: Extract function to find a ProtoError sourceNick Mathewson2026-01-222-11/+22
|/
* arti: Fix commented out comment in exampleClara Engler2026-01-221-1/+1
|
* tor-dircommon: Document prop330 syntax betterClara Engler2026-01-221-1/+33
| | | | | This commit adds more documentation/examples for the prop330 syntax for specifying directory authorities.
* Merge branch 'opaque_arti_2.0' into 'main'Nick Mathewson2026-01-157-105/+144
|\ | | | | | | | | | | | | Make all non-main APIs in arti experimental. Closes #2284, #2299, and #419 See merge request tpo/core/arti!3586
| * arti: Edit README.md text about experimental-api.Nick Mathewson2026-01-141-1/+6
| |
| * arti: remove deprecated feature flags.Nick Mathewson2026-01-133-17/+6
| | | | | | | | Closes #2299.
| * Reformatting in arti/Cargo.tomlNick Mathewson2026-01-131-33/+5
| | | | | | | | No semantic changes.
| * arti: Resolve unreachable-pub warnings.Nick Mathewson2026-01-132-24/+63
| |
| * arti: tweak notes on experimental-apiNick Mathewson2026-01-131-4/+6
| |
| * arti: rename experimental-api "run" to "run_proxy".Nick Mathewson2026-01-131-1/+1
| | | | | | | | | | Or rather, un-rename it. It's no longer a stable thing, so it doesn't need to have this particular name.
| * Make arti crate opaque by defaultNick Mathewson2026-01-133-27/+59
| | | | | | | | | | | | Only fn main() is now pub when experimental-api is disabled. Closes #2284.
* | arti: call `tor_log_ratelim::install_runtime`Steven Engler2026-01-142-2/+7
|/
* cargo: Bump futures-copyClara Engler2026-01-131-1/+1
| | | | | The dependencies of futures-copy got bumped in arti!3570, leading to a change in futures-copy, hence why we bump the patch version.
* Merge branch 'version-bump' into 'main'Clara Engler2026-01-131-26/+26
|\ | | | | | | | | Bump dependencies for 1.9.0 See merge request tpo/core/arti!3570
| * cargo: Bump `arti` to `1.9.0`Clara Engler2026-01-121-1/+1
| |
| * cargo: Update `arti-*` and `tor-*` to `0.38.0`Clara Engler2026-01-121-25/+25
| | | | | | | | | | | | | | | | | | Done using the following: ```bash for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.38.0 done ```
* | arti: fix path comment in example configSteven Engler2026-01-121-1/+1
| |
* | Make sure that rpc_state_sender lives as long as the proxies.Nick Mathewson2026-01-121-2/+8
| | | | | | | | | | | | Fixes bug introduced in 0cc367b9fef37c0f7d7f04d54c4687b27ef251d0. Without this fix, RPC's get_proxy_info command wouldn't work.
* | cargo: Run fixup-features for releaseClara Engler2026-01-121-0/+1
|/ | | | | | | Executed command: ``` cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml ```
* keymgr: Make CTorPath more like the client/service specifiersGabriela Moldovan2026-01-061-3/+3
| | | | | | | | | | | | | This will make it easier to see the correspondence between CTorPaths and the HS client/service key specifiers. Initially, I was hoping this would make it easier to write a d-d macro that automatically derives a `CTorPath` variant (e.g. `HsClientDescEncKeypair`) from the KeySpecifier type name (`HsClientDescEncKeypairSpecifier`), but alas, I don't think d-d can "chop off" name suffixes ("Specifier", in this case). `from_ctor_path()`/`ctor_path()` implementations for converting `CTorPath`s to and from key specifiers.
* keymgr: Move Unrecognized errors out of KeyPathErrorGabriela Moldovan2026-01-062-3/+2
| | | | | | | | | | | | | | | | | | | | | Out of all the variants in `KeyPathError`, `Unrecognized` is the odd one out, because unlike the others, which are mainly just lower level parsing errors, `Unrecognized` is a higher level error constructed in `KeyMgr::describe()`. `KeyMgr::describe()` now returns an `Option`, because * the failure to describe a user provided `KeyPath` may or may not be an error * previously, `describe()` would only ever return `Ok` or `Err(KeyPathError::Unrecognized)`, which essentially a binary result. Also, `describe()` would never return any of the other `KeyPathError` kinds, which further suggests `Unrecognized` doesn't belong there The `Unrecognized` variant still exists, but is now part of `KeystoreCorruptionError`, (returned from `KeyMgr::validate_entry_integrity()`).
* keymgr: Update expected output in integration testsGabriela Moldovan2026-01-061-6/+6
| | | | | C Tor keystore entries now use the same output format as the non-C Tor entries.
* arti: Remove no-longer needed helper functionGabriela Moldovan2026-01-061-23/+18
| | | | This folds `display_arti_entry()` into `display_entry()`.
* arti: Remove special handling for C Tor keys (fmt)Gabriela Moldovan2026-01-061-4/+1
|
* arti: Remove special handling for C Tor keysGabriela Moldovan2026-01-061-40/+2
| | | | | | | | | | This is no longer needed now that `KeyMgr::describe()` works on `CTorPath`s. Removing this special handling has the added bonus that the keymgr CLI output is now uniform for all keystores (before this change, `keys list` used a slightly different output format for displaying C Tor entries). The corresponding tests will be updated in a future commit.