summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | doc: Improve hsc documentationhjrgrn2025-03-171-4/+4
| | | | | |
| * | | | | examples: Fix use of deprecated onion_namehjrgrn2025-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Use `onion_address` instead
| * | | | | test: Update testcase get-key-error for hschjrgrn2025-03-141-2/+2
| | | | | |
| * | | | | doc: Update hsc documentationhjrgrn2025-03-141-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * In hsc.rs has been removed `onion-address` flag in favour of getting the value required from stdin
| * | | | | hsc: remove onion-address flag in favour of stdinhjrgrn2025-03-141-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The user will be prompted interactively for the onion-address to prevent onion-address leaking in shell history
* | | | | | Merge branch 'interface-abstraction-of-the-daleks' into 'main'Nick Mathewson2025-03-1810-64/+278
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrap x25519-dalek and ed25519-dalek types. See merge request tpo/core/arti!2868
| * | | | | | llcrypto: add a semver file for new x25519-wrappersNick Mathewson2025-03-181-0/+1
| | | | | | |
| * | | | | | Wrap ed25519-dalek types.Nick Mathewson2025-03-188-54/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, we'll no longer need to expose the types from dalek-cryptography as part of our API, and we'll have more freedom to switch ed25519 implementations, or to upgrade to a newer `rand` ahead of their schedule. Unlike with x25519-dalek, I had to tweak the API a bit: There's no way to get a &PublicKey out of a Keypair now, and implementing the old ed25519-dalek traits seemed unnecessary.
| * | | | | | Wrap x25519-dalek types.Nick Mathewson2025-03-171-10/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, we'll no longer need to expose the types from dalek-cryptography as part of our API, and we'll have more freedom to switch curve25519 implementations, or to upgrade to a newer `rand` ahead of their schedule.
* | | | | | | Merge branch 'tests-rpc-client-msgs' into 'main'Nick Mathewson2025-03-182-1/+35
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpc-client: Increase test coverage for the msgs module See merge request tpo/core/arti!2865
| * | | | | | | rpc-client: Increase test coverage for the msgs modulevcrn2025-03-182-1/+35
| |/ / / / / /
* | | | | | | Merge branch 'hsc-lf' into 'main'gabi-2502025-03-182-1/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: hsc-key-get: Print LF after discovery key See merge request tpo/core/arti!2856
| * | | | | | | arti: hsc-key-get: Print LF after discovery keyplaybahn2025-03-132-1/+2
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Did not print a newline after service discovery key. Looked bad. Prints newline now. Looks better.
* | | | | | | Merge branch 'conflux-cells' into 'main'David Goulet2025-03-182-3/+62
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-cell: Add constructors for the conflux cell types. See merge request tpo/core/arti!2858
| * | | | | | | tor-cell: Implement RelayMsg for all conflux message types.Gabriela Moldovan2025-03-171-1/+1
| | | | | | | |
| * | | | | | | tor-cell: Add setters for the V1LinkPayload seqnos.Gabriela Moldovan2025-03-131-0/+10
| | | | | | | |
| * | | | | | | tor-cell: Make V1_LINK_NONCE_LEN pub.Gabriela Moldovan2025-03-131-1/+1
| | | | | | | |
| * | | | | | | tor-cell: Add constructors for the conflux cell types.Gabriela Moldovan2025-03-131-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will soon need these in the circuit reactor.
| * | | | | | | tor-cell: Add type alias for the V1LinkPayload nonce.Gabriela Moldovan2025-03-131-1/+4
| | | | | | | |
* | | | | | | | Merge branch 'tighten-utf-8' into 'main'David Goulet2025-03-1814-41/+104
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | netdoc: Reject BOMs and NULs. Closes #1739 See merge request tpo/core/arti!2866
| * | | | | | | netdoc: Reject BOMs and NULs.Nick Mathewson2025-03-174-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per <https://spec.torproject.org/dir-spec/netdoc.html>, our netdocs never have a BOM, and never have internal NULs. This makes Arti reject such documents. For arguments on why it's okay to increase parser strictness, see the (forthcoming) proposal 356 at torspec!342, and see older discussion at torspec#296. Closes #1739.
| * | | | | | | netdoc: Make some parsing init functions fallible.Nick Mathewson2025-03-1711-40/+48
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm about to make our parsers reject some strings at construction time, so it makes sense to have these functions become fallible. This is a breaking change.
* | | | | | | Merge branch 'deprecated-method-examples-hyper' into 'main'gabi-2502025-03-141-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | examples: Use onion_address() instead of depricated onion_name() See merge request tpo/core/arti!2859
| * | | | | | examples: Use onion_address() instead of depricated onion_name()vcrn2025-03-141-1/+1
|/ / / / / /
* | | | | | Merge branch '1889-resolve-some-todos' into 'main'gabi-2502025-03-142-185/+174
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: Resolve TODOs from key_specifier::tests Closes #1889 See merge request tpo/core/arti!2849
| * | | | | | tor-keymgr: Resolve TODOs from key_specifier::testshjrgrn2025-03-142-185/+174
| | | | | | |
* | | | | | | Merge branch 'handle-relevant-errorkind-variants' into 'main'gabi-2502025-03-141-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hsc: remove TODO, improve display_service_discovery_key error handling. See merge request tpo/core/arti!2846
| * | | | | | | hsc: remove TODO about display_service_discovery_key error handling.hjrgrn2025-03-141-1/+0
| |/ / / / / /
* | | | | | | Merge branch 'dev/cve/is_fully_reachable' into 'main'gabi-2502025-03-143-1/+29
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Add is_fully_reachable() method Closes #1890 See merge request tpo/core/arti!2850
| * | | | | | | examples: Use is_fully_reachable() in examples/Clara Engler2025-03-132-1/+19
| | | | | | | |
| * | | | | | | tor-hsservice: Add is_fully_reachable() methodClara Engler2025-03-131-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a `is_fully_reachable()` method to `tor_hsservice::status::State` in order to check whether the hidden service is believed to be fully reachable. See #1887 Fixes #1890
* | | | | | | | Merge branch 'revert-ignore-rustsec-2025-0014' into 'main'opara2025-03-131-9/+0
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint: Revert ignore of RUSTSEC-2025-0014 Closes #1893 See merge request tpo/core/arti!2857
| * | | | | | | maint: Revert ignore of RUSTSEC-2025-0014vcrn2025-03-131-9/+0
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Crate humantime is no longer unmaintained
* | | | | | | Merge branch 'timeperiod_display' into 'main'gabi-2502025-03-133-12/+26
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | tor-hscrypto: Implement Display for TimePeriod See merge request tpo/core/arti!2851
| * | | | | | tor-hscrypto: Implement Display for TimePeriodhjrgrn2025-03-133-12/+26
|/ / / / / /
* | | | | | Merge branch 'stream-target' into 'main'gabi-2502025-03-133-13/+28
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | tor-proto: Make `Circuit::add_hop` fallible See merge request tpo/core/arti!2855
| * | | | | tor-proto: make `Circuit::add_hop` fallibleSteven Engler2025-03-123-13/+28
|/ / / / /
* | | | | Merge branch 'rename-onion-name-to-onion-address-#1879' into 'main'gabi-2502025-03-1213-55/+85
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Deprecate --onion-name; introduce --onion-address See merge request tpo/core/arti!2840
| * | | | | Deprecate --onion-name; introduce --onion-addressdisha2025-03-1213-55/+85
|/ / / / /
* | | | | Merge branch 'ignore-humantime-rustsec' into 'main'gabi-2502025-03-111-0/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint: Ignore RUSTSEC-2025-0014 Closes #1892 See merge request tpo/core/arti!2852
| * | | | | maint: ignore RUSTSEC-2025-0014Steven Engler2025-03-111-0/+9
|/ / / / /
* | | | | Merge branch 'stream-target' into 'main'opara2025-03-116-109/+390
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Updating tor-proto to use `HopLocation` and `TargetHop` See merge request tpo/core/arti!2839
| * | | | | tor-proto: change `take_single_leg` to return `NotSingleLegError`Steven Engler2025-03-112-4/+3
| | | | | |
| * | | | | tor-proto: remove `ConfluxSet::single_leg_check` and add `get_single`Steven Engler2025-03-111-37/+38
| | | | | |
| * | | | | tor-proto: begin using `TargetHop` and `HopLocation`Steven Engler2025-03-116-40/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't yet change the public API, it just begins the work of plumbing these around throughout `ClientCirc`, `Reactor`, etc. This can't be broken up into smaller commits without causing build failures.
| * | | | | tor-proto: add methods for resolving `TargetHop` and `TargetLocation`Steven Engler2025-03-112-1/+96
| | | | | |
| * | | | | tor-proto: add a non-pub `ClientCirc::legs()` methodSteven Engler2025-03-113-2/+40
| | | | | |
| * | | | | tor-proto: combine `single_leg_with_id` and `single_leg`Steven Engler2025-03-113-43/+30
| | | | | | | | | | | | | | | | | | | | | | | | And the same with `single_leg_with_id_mut` and `single_leg_mut`.
| * | | | | tor-proto: remove non-conflux support from `HopLocation`Steven Engler2025-03-111-5/+0
| | | | | |
| * | | | | tor-proto: rename `HopLocation::Leg` to `HopLocation::Hop`Steven Engler2025-03-111-1/+1
| | | | | |