| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | release: Update ARTI_CLIENT_RELEASE_DATE using `maint/update-release-date`. | Alexander Hansen Færøy | 2025-06-05 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | De-duplicate circuit ntorv3 extension generation code. | Nick Mathewson | 2025-06-04 | 2 | -61/+40 | |
| |/ / | | | | | | | Closes #1969. | |||||
| * | | Sort dependencies to make cargo sort happy. | Alexander Hansen Færøy | 2025-06-04 | 2 | -11/+13 | |
| | | | ||||||
| * | | Add missing semver entry related to the rustls change to arti-ureq. | Alexander Hansen Færøy | 2025-06-03 | 1 | -0/+1 | |
| | | | ||||||
| * | | Fix various missing incorrect feature entries as prep for release. | Alexander Hansen Færøy | 2025-06-03 | 5 | -5/+10 | |
| | | | ||||||
| * | | tor-keymgr: BREAKING: Refactor API: Keystore::list | hjrgrn | 2025-05-30 | 11 | -99/+476 | |
| |/ | | | | | * Change return type `Result<Vec<(KeyPath, KeystoreItemType)>>` if favor of `Result<Vec<StdResult<(KeyPath, KeystoreItemType), UnrecognizedEntryError>>>` | |||||
| * | Merge branch 'nightly-warnings' into 'main' | Nick Mathewson | 2025-05-29 | 22 | -12/+50 | |
| |\ | | | | | | | | | | | | | Fix clippy warnings from nightly rust Closes #2009 See merge request tpo/core/arti!3008 | |||||
| | * | equix: use into_iter().for_each() over map() | Nick Mathewson | 2025-05-29 | 1 | -7/+12 | |
| | | | | | | | | | clippy nightly complains when the map() output is unused. | |||||
| | * | ptmgr: Use simpler expression to extract a HashMap's keys. | Nick Mathewson | 2025-05-29 | 1 | -1/+1 | |
| | | | ||||||
| | * | *: suppress cognitive_complexity warnings from nightly | Nick Mathewson | 2025-05-29 | 16 | -0/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently clippy nightly is better (or worse?) about detecting complex functions than before, so I'm suppressing these warnings where they occur. I have mixed feelings about these warnings: On the plus side, they really do help to detect functions that are twistier than they need to be. On the minus side, they get confused by tracing macros, and the "allows" do pile up. But on the plus side, those "allows" do provide a way to find functions that need to be refactored, and they are never uglier than the functions they decorate. | |||||
| | * | arti, cell, dirclient: Use expect instead of unwrap. | Nick Mathewson | 2025-05-29 | 3 | -4/+5 | |
| | | | | | | | | | | | | | Clippy nightly detects this problem, though earlier clippy verisons haven't. The common element here is applying unwrap() to the result from a write!(). | |||||
| | * | cell: fix warning from nightly about unused function. | Nick Mathewson | 2025-05-29 | 1 | -0/+1 | |
| | | | ||||||
| * | | Merge branch 'no-dot-z' into 'main' | Nick Mathewson | 2025-05-29 | 2 | -15/+12 | |
| |\ \ | |/ |/| | | | | | dirclient: Stop sending suffix .z in URLs. See merge request tpo/core/arti!3013 | |||||
| | * | dirclient: Stop sending suffix .z in URLs. | Nick Mathewson | 2025-05-27 | 2 | -15/+12 | |
| | | | | | | | | | | | | | | | | | This suffix is redundant with "Accept-Encoding", which all Tor directory caches have supported since 0.3.1.1-alpha. See torspec#342. | |||||
| * | | tor-proto: Remove already addressed TODO. | Gabriela Moldovan | 2025-05-28 | 1 | -3/+0 | |
| | | | | | | | | | | | There's already a check right above the TODO that does what the TODO asks. | |||||
| * | | tor-proto: Make Path::all_hops() return an iterator. | Gabriela Moldovan | 2025-05-28 | 3 | -15/+13 | |
| | | | | | | | | | This addresses one of the TODOs from `reactor::conflux`. | |||||
| * | | tor-proto: Downgrade a few TOOD(conflux) to TODO. | Gabriela Moldovan | 2025-05-28 | 2 | -3/+3 | |
| | | | ||||||
| * | | tor-proto: Replace TODO(conflux) with TODO(#2017). | Gabriela Moldovan | 2025-05-28 | 1 | -1/+1 | |
| | | | | | | | | | | | This is not a MUST for client-side conflux, so I'm filing it as tech debt. | |||||
| * | | tor-proto: Add missing feature-gating to HopDetail::Virtual. | Gabriela Moldovan | 2025-05-28 | 1 | -0/+1 | |
| | | | ||||||
| * | | tor-proto: Avoid comparing virtual hops for now. | Gabriela Moldovan | 2025-05-28 | 1 | -17/+22 | |
| | | | | | | | | | | | | | We don't have a way to compare virtual hops (see #2016), and we don't yet support onion service conflux (see #2002), so let's defer this for now. | |||||
| * | | tor-proto: Downgrade a TODO(conflux) to TODO. | Gabriela Moldovan | 2025-05-28 | 1 | -1/+1 | |
| | | | | | | | | | This is tech debt, and is not a MUST for conflux. | |||||
| * | | tor-proto: Replace TOOD(conflux) with TODO(#1999). | Gabriela Moldovan | 2025-05-28 | 1 | -1/+1 | |
| | | | | | | | | | | | We can tackle this later, after we finish addressing all the remaining `TODO(conflux)`. | |||||
| * | | Merge branch 'pow-manager' into 'main' | wesleyac | 2025-05-27 | 20 | -19/+983 | |
| |\ \ | | | | | | | | | | | | | Service side Proof-of-Work See merge request tpo/core/arti!2697 | |||||
| | * | | tor-hsservice: Fix typo. | Wesley Aptekar-Cassels | 2025-05-27 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsservice: Warn instead of panic on KeyMgr error in PowManager. | Wesley Aptekar-Cassels | 2025-05-27 | 1 | -4/+8 | |
| | | | | ||||||
| | * | | tor-hsservice: Refactor PoW error handling. | Wesley Aptekar-Cassels | 2025-05-27 | 2 | -17/+35 | |
| | | | | | | | | | | | | | | | | | | | This adds a error type for internal errors, and in error cases where we previously panicked, returns a Result instead. The publisher then simply doesn't publish the pow_params line and warns the user. | |||||
| | * | | tor-hsservice: Make PoW publisher_update_tx closed a warning. | Wesley Aptekar-Cassels | 2025-05-27 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | This shouldn't happen, but there's not a good reason to panic if it does. | |||||
| | * | | tor-hsservice: Make PowManager persist state. | Wesley Aptekar-Cassels | 2025-05-27 | 10 | -15/+86 | |
| | | | | ||||||
| | * | | tor-hsservice: Add ReplayLog to PowManager. | Wesley Aptekar-Cassels | 2025-05-27 | 4 | -15/+71 | |
| | | | | ||||||
| | * | | tor-hsservice: Add PowNonceReplayLog. | Wesley Aptekar-Cassels | 2025-05-27 | 2 | -0/+37 | |
| | | | | ||||||
| | * | | tor-hscrypto: Implement Display and FromStr for Seed. | Wesley Aptekar-Cassels | 2025-05-27 | 2 | -1/+29 | |
| | | | | | | | | | | | | | | | | This is convenient for formatting filenames for the PoW nonce replay log. | |||||
| | * | | tor-hsservice: Explicitly don't use memquota for publisher update queue. | Wesley Aptekar-Cassels | 2025-05-27 | 1 | -1/+5 | |
| | | | | ||||||
| | * | | tor-hsservice: Add PoW priority queue and checking of solves. | Wesley Aptekar-Cassels | 2025-05-27 | 3 | -25/+242 | |
| | | | | ||||||
| | * | | Add methods for getting proof-of-work extension from intro request. | Wesley Aptekar-Cassels | 2025-05-27 | 4 | -2/+16 | |
| | | | | ||||||
| | * | | tor-hsservice: Use Pin<Box<dyn Stream>>> instead of mpsc::Receiver. | Wesley Aptekar-Cassels | 2025-05-27 | 4 | -8/+9 | |
| | | | | | | | | | | | | | | | | This will allow us to more easily switch out the implementation of this queue as is needed for PoW. | |||||
| | * | | tor-hsservice: Initial parts of PowManager. | Wesley Aptekar-Cassels | 2025-05-27 | 10 | -10/+525 | |
| | | | | | | | | | | | | | | | | | | | | | | This adds PowManager, as described in doc/dev/notes/service-side-pow.md, hooks it into IptManager and Publisher, and adds code to publish and rotate seeds, and to keep a updated list of Verifier instances for currently active seeds. | |||||
| * | | | Merge branch 'proto-bench-visibility' into 'main' | Nick Mathewson | 2025-05-27 | 15 | -557/+385 | |
| |\ \ \ | |/ / |/| | | | | | | | | tor-proto: use the visibility crate for benchmarks See merge request tpo/core/arti!3010 | |||||
| | * | | proto: fix bench features | Lionel Goffaux | 2025-05-27 | 7 | -181/+187 | |
| | | | | ||||||
| | * | | proto: remove unused cpu_time dev-dependency | Lionel Goffaux | 2025-05-22 | 1 | -1/+0 | |
| | | | | ||||||
| | * | | proto: remove bench pub wrappers | Lionel Goffaux | 2025-05-22 | 14 | -409/+232 | |
| | | | | ||||||
| * | | | ./maint/cargo_sort: Run cargo-sort on the entire workspace. | Gabriela Moldovan | 2025-05-27 | 25 | -77/+194 | |
| | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The [latest version] of `cargo-sort` is more opinionated than the previous one, and is now causing the `rust-checks` job to fail on `main`. This commit applies the fixes needed to satisfy the new `cargo-sort` rules. These changes were generated by running `cargo sort --workspace` several times, until `cargo sort --check --workspace` finally succeeded (it couldn't fix all the errors in one go, for some reason). I have omitted the changes `cargo-sort` made to the top-level `Cargo.toml`, to preserve the topological ordering of the workspace members. Closes #2014 [latest version]: https://github.com/DevinR528/cargo-sort/blob/f066ae80e5e6f5c1d8f0e2b8099461dcb97d9656/changelog.md#200 | |||||
| * | | Merge branch 'stuck_in_the_middle_with_you' into 'main' | Nick Mathewson | 2025-05-22 | 13 | -161/+400 | |
| |\ \ | |/ |/| | | | | | | | | | Don't use MiddleOnly relays for rend points or intro points Closes #1911 See merge request tpo/core/arti!3007 | |||||
| | * | hspool: Explain _why_ ClientRend is Guarded. | Nick Mathewson | 2025-05-22 | 1 | -4/+12 | |
| | | | | | | | | | (text from Gabi) | |||||
| | * | hspool: refactor path match to be exhaustive. | Nick Mathewson | 2025-05-22 | 1 | -7/+11 | |
| | | | ||||||
| | * | hspool: ClientRend first should be Guarded | Nick Mathewson | 2025-05-22 | 1 | -4/+5 | |
| | | | | | | | | | On !3007, @gabi-250 says that it was a mistake to have it be Naive. | |||||
| | * | Apply 1 suggestion(s) to 1 file(s) | Nick Mathewson | 2025-05-22 | 1 | -1/+1 | |
| | | | | | | | Co-authored-by: gabi-250 <[email protected]> | |||||
| | * | circmgr: Apply last-hop-in-stem usage when retrieving a stem circ. | Nick Mathewson | 2025-05-20 | 1 | -20/+85 | |
| | | | | | | | | | Closes #1911. | |||||
| | * | circmgr: when building client rend stems, make sure last hop has new_rend usage. | Nick Mathewson | 2025-05-20 | 2 | -28/+72 | |
| | | | ||||||
| | * | guardmgr, circmgr: Make vanguard selection take a RelaySelector. | Nick Mathewson | 2025-05-20 | 6 | -52/+89 | |
| | | | | | | | | | | | | | This is the preferred type for choosing a relay, since unlike a RelayExclusion, it lets us add multiple restrictions, and a relay usage. | |||||
| | * | circmgr: Propagate Option<HsCircKind> down to path selection functions | Nick Mathewson | 2025-05-20 | 4 | -46/+103 | |
| | | | | | | | | | | | | | We'll need this in order to build paths that are specifically for client rend circuits. I thought of using a boolean here, but that had potential to get ugly in the future. | |||||
