summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | rpc client: Remove Unvalidated{Reader,Writer}.Nick Mathewson2024-07-162-98/+33
| | | |
| * | | rpc client: resolve unused-foo warnings.Nick Mathewson2024-07-163-4/+2
| | | |
| * | | rpc-client: Expose a few types as pub.Nick Mathewson2024-07-161-0/+3
| | | |
| * | | Make RequestId and ObjectId public.Nick Mathewson2024-07-161-2/+2
| | | |
| * | | Add a TODO about refactoring should_alertNick Mathewson2024-07-161-0/+5
| | | |
| * | | Rename CmdError to ProtoError.Nick Mathewson2024-07-163-23/+23
| | | |
| * | | RPC: Implement connection negotiation.Nick Mathewson2024-07-165-29/+211
| | | |
| * | | WIP: Lower and middle levels of Arti rpc core.Nick Mathewson2024-07-1612-0/+1502
| | | |
* | | | Merge branch 'rpcbase-testing' into 'main'gabi-2502024-07-166-19/+201
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | A bit more test coverage in tor-rpcbase See merge request tpo/core/arti!2264
| * | | rpcbase: tests for crate-level invoke functions.Nick Mathewson2024-07-152-20/+73
| | | |
| * | | rpc: Test a previously unchecked cast function.Nick Mathewson2024-07-151-0/+3
| | | |
| * | | rpc: Test some lower level dispatch internals.Nick Mathewson2024-07-153-3/+82
| | | |
| * | | rpc: Tests for method name checking.Nick Mathewson2024-07-151-0/+38
| | | |
| * | | rpc: Add a test for failed downcast.Nick Mathewson2024-07-151-0/+9
| | | |
* | | | Merge branch 'cover_less' into 'main'gabi-2502024-07-161-0/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | with_coverage: Exclude maint/ and examples/ in coverage reports. See merge request tpo/core/arti!2265
| * | | with_coverage: Exclude maint/ and examples/ in coverage reports.Nick Mathewson2024-07-151-0/+2
|/ / / | | | | | | | | | | | | These are not parts of arti per se, and we don't especially want to track their test coverage.
* | | Merge branch 'onion-svc-builder' into 'main'gabi-2502024-07-153-69/+93
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Add OnionService builder Closes #1490 See merge request tpo/core/arti!2262
| * | | tor-hsservice: Add OnionServiceBuilder, deprecate OnionService::new (fmt).Gabriela Moldovan2024-07-151-10/+8
| | | |
| * | | tor-hsservice: Add OnionServiceBuilder, deprecate OnionService::new.Gabriela Moldovan2024-07-153-7/+47
| | | | | | | | | | | | | | | | Closes #1490
| * | | tor-hsservice: Abolish OnionServiceState (fmt).Gabriela Moldovan2024-07-151-24/+27
| | | | | | | | | | | | | | | | Includes both `cargo fmt` and some manual code motion.
| * | | tor-hsservice: Abolish OnionServiceState.Gabriela Moldovan2024-07-151-38/+21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes a mostly-unnecessary struct holding the state of an `OnionService` or `RunningOnionService`. It only exists because I wanted to reduce the duplication of the `OnionService` and `RunningOnionService` fields. I am removing it because `OnionService` will soon become a builder, and this inner structure is making it difficult to create an ergonomic builder API (if we keep `OnionServiceState`, the builder fields won't map 1:1 to the fields of the build `OnionService` type). Note: this commit intentionally a bit misformatted to make reviewing easier. The reformatting will come in a future commit.
* | | Merge branch 'bytes-1.6.1' into 'main'Jim Newsome2024-07-151-2/+2
|\ \ \ | |/ / |/| | | | | | | | Upgrade bytes to 1.6.1, to appease cargo-audit See merge request tpo/core/arti!2263
| * | Upgrade bytes to 1.6.1, to appease cargo-audit.Nick Mathewson2024-07-151-2/+2
|/ / | | | | | | | | Version 1.6.0 has been yanked. We don't use the affected API, but our dependencies may.
* | Merge branch 'categories' into 'main'Nick Mathewson2024-07-154-7/+140
|\ \ | | | | | | | | | | | | | | | | | | Check cargo categories against crates.io Closes #1481 See merge request tpo/core/arti!2256
| * | maint/: crates_io_api_call: Add a TODO about unifying themIan Jackson2024-07-111-0/+2
| | |
| * | maint/cargo-check-publishable: run in CIIan Jackson2024-07-101-1/+2
| | |
| * | maint/cargo-check-publishable: Check categoriesIan Jackson2024-07-103-0/+124
| | | | | | | | | | | | What a palaver.
| * | maint/list_crates: Include `Crate.raw_metadata`Ian Jackson2024-07-101-2/+3
| | |
| * | maint/list_crates: Run mypy in CIIan Jackson2024-07-101-0/+1
| | |
| * | maint/list_crates: Add a type annotationIan Jackson2024-07-101-1/+1
| | |
| * | maint/list_crates: Resolve `Crate.publish`Ian Jackson2024-07-101-1/+3
| | | | | | | | | | | | | | | If this is unset, set it to True. Otherwise it's super confusing (and every call site needs to do this special comparison.)
| * | shell crates.io API: set User-Agent and add a sleepIan Jackson2024-07-101-1/+3
| | | | | | | | | | | | See https://crates.io/data-access
| * | shell crates.io: Fix a doc typoIan Jackson2024-07-101-1/+1
| | |
* | | Merge branch 'dev/cve/handshake_clarification' into 'main'gabi-2502024-07-151-1/+1
|\ \ \ | | | | | | | | | | | | | | | | UnverifiedChannel: Clarify check's peer_cert See merge request tpo/core/arti!2260
| * | | UnverifiedChannel: Clarify check's peer_certClara Engler2024-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit clarifies the documentation of the `peer_cert` parameter in the `UnverifiedChannel::check` function, in order to reflect that it represents the certificate presented during the ServerHello in the TLS handshake and not in the in-protocol CERTS cell.
* | | | Merge branch 'dev/cve/missing-rsa' into 'main'gabi-2502024-07-151-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-proto: Return proper `Error::MissingId` See merge request tpo/core/arti!2261
| * | | tor-proto: Return proper `Error::MissingId`Clara Engler2024-07-121-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes a bug in the `ClientCirc::extend_ntor` function, which currently returns a `Error::MissingId(Ed25519)` in the case that no RSA identity has been found in the accompanying channel target. This behavior is obviously wrong, because a missing RSA identity should yield a `Error::MissingId(Rsa)`.
* | | Merge branch 'wait-for-stop' into 'main'Nick Mathewson2024-07-114-0/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | implement TorClient::wait_for_stop Closes #1418 See merge request tpo/core/arti!2259
| * | | implement TorClient::wait_for_stoptrinity-1686a2024-07-114-0/+32
|/ / /
* | | Merge branch 'fix-arti-hsc-subcommand' into 'main'gabi-2502024-07-113-5/+14
|\ \ \ | | | | | | | | | | | | | | | | arti: Add a keymgr feature. See merge request tpo/core/arti!2257
| * | | arti: Gate the hsc subcommand behind the keymgr feature (fmt).Gabriela Moldovan2024-07-102-2/+10
| | | |
| * | | arti: Gate the hsc subcommand behind the keymgr feature.Gabriela Moldovan2024-07-102-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `arti hsc` subcommand can't run without keymgr support. Previously, it relied on `tor-keymgr/keymgr` being enabled indirectly by its dependencies, via the `experimental` feature. We need to be able to enable this feature in `arti` without relying on `experimental` (because `arti hsc` will eventually be made non-experimental). Part of #1487
| * | | arti: Add a keymgr feature.Gabriela Moldovan2024-07-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a `keymgr` feature here will enable us to detect if `arti` is running without keymgr support. This is needed for the correct handling of subcommands that require keymgr support (such as the `arti hsc` subcommand).
* | | | Merge branch 'owner' into 'main'Ian Jackson2024-07-101-1/+103
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide way to temporarily override ownership check via CI variables Closes #1485 See merge request tpo/core/arti!2255
| * | | | maint/cargo-crate-owners: Add comment about empty filesIan Jackson2024-07-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Prompted by: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2255#note_3046801
| * | | | maint/cargo-crate-owners: Fix and comment sedderyIan Jackson2024-07-101-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2255#note_3046739 There is an improvement to comment semantics.
| * | | | maint/cargo-crate-owners: Comment read_owners_overrideIan Jackson2024-07-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Prompted by: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2255#note_3046737
| * | | | maint/cargo-crate-owners: Implement override facilityIan Jackson2024-07-101-1/+53
| | | | |
| * | | | maint/cargo-crate-owners: Plan for override facilityIan Jackson2024-07-101-0/+42
| | |/ / | |/| |
* | | | Merge branch 'mistrust-message' into 'main'Ian Jackson2024-07-108-16/+54
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix fs_mistrust error messages and some misnamed error variants Closes #1473 See merge request tpo/core/arti!2253