summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge branch 'ptmgr-optional-dep-test' into 'main'Ian Jackson2022-11-291-20/+65
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | MultilineListBuilder etc.: add serde tests See merge request tpo/core/arti!899
| * | | tor-config MultilineListBuilder: Test deserialisationIan Jackson2022-11-291-0/+45
| | | |
| * | | tor-config MultilineListBuilder: Print line number starting at 1, not 0Ian Jackson2022-11-291-1/+1
| | | |
| * | | tor-config list_builder tests: Move Outer up a levelIan Jackson2022-11-291-19/+19
| | | | | | | | | | | | | | | | We're going to reuse this.
* | | | Merge branch 'ptmgr-optional-dep' into 'main'Ian Jackson2022-11-297-7/+90
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Support building without pluggable transports Closes #649 See merge request tpo/core/arti!898
| * | | CI: test that we can compile, and test cfg, with/without bridges/PTsIan Jackson2022-11-292-0/+24
| | | |
| * | | arti-client: Make ptmgr actually optionalIan Jackson2022-11-291-2/+3
| | | |
| * | | guardmgr: Conditionalise DisplayRule::RedactedIan Jackson2022-11-291-0/+5
| | | | | | | | | | | | | | | | This is unused in bridgeless configs. Fixes a compiler warning.
| * | | arti, arti-client: Conditionalise various things on pt-clientIan Jackson2022-11-292-3/+5
| | | |
| * | | arti cfg tests: Add some more debug outputIan Jackson2022-11-291-0/+1
| | | |
| * | | MultilineListBuilder: Use a manual implementation of DeserializeIan Jackson2022-11-291-2/+52
| | |/ | |/| | | | | | | | | | | | | The error message from `#[serde(untagged)]` would otherwise start to appear when we try to deserialise unsupported PT configurations, when compiled with bridge but not PT support.
* | | Merge branch 'll-todo-fixes' into 'main'Ian Jackson2022-11-296-22/+9
|\ \ \ | | | | | | | | | | | | | | | | Fix and resolve TODO pt-client comments in guardmgr, linkspec. See merge request tpo/core/arti!896
| * | | guardmgr: remove todo about bridge::config::Inner membersNick Mathewson2022-11-291-4/+0
| | | | | | | | | | | | | | | | We've revised this a few times; now it seems plausible.
| * | | guardmgr: Remove now-unneeded #[allow(unnecessary_wraps)]Nick Mathewson2022-11-291-1/+0
| | | |
| * | | Remove deprecated aliases in tor-linkspec.Nick Mathewson2022-11-294-17/+9
| |/ /
* | | Merge branch 'ptmgr-cleanup-redux' into 'main'Nick Mathewson2022-11-293-22/+33
|\ \ \ | |/ / |/| | | | | | | | More post-merge cleanups for ptmgr See merge request tpo/core/arti!895
| * | Clarify internal error.Ian Jackson2022-11-291-2/+2
| | |
| * | ptmgr: Refine RetryTime for ChildSpawnFailed.Nick Mathewson2022-11-291-1/+7
| | |
| * | ptmgr: Rename ClientTransportFailed, document, and correct its RetryTime.Nick Mathewson2022-11-292-6/+7
| | |
| * | ptmgr: Replace StdioUnavailable with a PtError.Nick Mathewson2022-11-292-11/+12
| | |
| * | Rename LocalLoginFailed to ExternalToolFailed.Nick Mathewson2022-11-292-3/+3
| | |
| * | Document better what LocalProtocolViolation does not cover.Nick Mathewson2022-11-291-1/+4
|/ /
* | Merge branch 'ptmgr-cleanup' into 'main'Nick Mathewson2022-11-2912-53/+182
|\ \ | | | | | | | | | | | | | | | | | | Post-merge cleanups for PtMgr Closes #667 and #659 See merge request tpo/core/arti!893
| * | Spelling fix in arti_client::erreta2022-11-291-1/+1
| | |
| * | Temporarily make ptmgr required for arti-client :/Nick Mathewson2022-11-282-2/+5
| | |
| * | PtMgr: Use a persistent state directory for PT state.Nick Mathewson2022-11-285-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes a `pt_state` directory inside .local/share/arti (or the local equivalent), right next to our existing `state` dir. Ideally we would use a separate directory for each PT, but we have a very fuzzy "what is a specific PT" notion. Closes #667
| * | Integrate PtMgr into arti-client.Nick Mathewson2022-11-284-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | If support is available at compile-time, then we construct a PtMgr and register it with the ChanMgr. We keep a handle to it ourself so that we can reconfigure it as needed. Closes #659.
| * | Fix ChanMgr APIs for setting PtMgr etc to match what TorClient wants.Nick Mathewson2022-11-281-7/+4
| | |
| * | Revise the API of "PtMgr::reconfigure"Nick Mathewson2022-11-281-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | I prefer that it not take `&mut self`, since PtMgr already has interior mutability. I also need it to take `tor_config::Reconfigure` argument, in case it gains any more smarts about validation in the future.
| * | ptmgr: Note a TODO issue around TempDir.Nick Mathewson2022-11-281-0/+2
| | |
| * | ptmgr: Fill in some error-related code; resolve TODOs.Nick Mathewson2022-11-283-8/+55
| | |
| * | ptmgr: clear up unused_import exceptions.Nick Mathewson2022-11-282-16/+21
| | |
| * | PtMgr: New features section in README.mdNick Mathewson2022-11-282-6/+13
| | | | | | | | | | | | | | | | | | | | | Per convention, have a `full` feature. Also, downgrade the 'TODO pt-client' entries in README::limitations, since they are not blockers for 1.1.0.
| * | ptmgr: Mark PtMessage and next_message as experimental-api.Nick Mathewson2022-11-284-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | These are implementation details and we don't want to mark them as stable. To do this, I needed to apply some additional options to the example code's configuration in Cargo.toml.
* | | Merge branch 'update_packages_20221128' into 'main'Ian Jackson2022-11-292-151/+161
|\ \ \ | | | | | | | | | | | | | | | | Dependency upgrades and updates in preparation for upcoming release See merge request tpo/core/arti!892
| * | | Switch from sha-1 back to sha1.Nick Mathewson2022-11-292-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As near as I can tell, the rust-crypto SHA1 crate was called `sha-1` for a while because of a conflict with a different SHA1 crate. Now they apparently have the `sha1` name back and have deprecated the `sha-1` name.
| * | | Run cargo update in preparation for next releaseNick Mathewson2022-11-291-147/+157
|/ / /
* | | Merge branch 'repro-less-shm' into 'main'Nick Mathewson2022-11-292-10/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | reproducible builds without shm Closes #614 See merge request tpo/core/arti!818
| * | | use newer version of zstd and lzmatrinity-1686a2022-11-292-10/+4
| | |/ | |/|
* | | Merge branch 'redacted' into 'main'Ian Jackson2022-11-2917-13/+326
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Define a "redactable" trait, and use it when logging guard info Closes #648 and #627 See merge request tpo/core/arti!882
| * | | Rustdoc fix: escape []s.Nick Mathewson2022-11-281-1/+1
| | | |
| * | | safelog: Make MaybeRedacted<T> opaque.Nick Mathewson2022-11-283-22/+12
| | | |
| * | | GuardMgr: Treat Guards as sensitive and Bridges as redacted.Nick Mathewson2022-11-283-5/+46
| | | | | | | | | | | | | | | | | | | | This machinery is a bit inelegant, but it is all confined to be within the GuardMgr crate, so IMO it should be fine for now.
| * | | Add a default debug_redacted impl to save space.Nick Mathewson2022-11-283-33/+3
| | | |
| * | | Display guards in redacted form in guard status messages.Nick Mathewson2022-11-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Closes #627, again. Closes #648.
| * | | linkspec: Give a Redacted form for chantarget.Nick Mathewson2022-11-286-7/+85
| | | |
| * | | llcrypto: Make key id types Redactable.Nick Mathewson2022-11-284-0/+30
| | | |
| * | | safelog: Add a MaybeRedacted wrapper too.Nick Mathewson2022-11-281-0/+38
| | | | | | | | | | | | | | | | | | | | This is super helpful for cases where we want to write two nearly identical implementations to format a type.
| * | | safelog: implement Redactable for network addr types.Nick Mathewson2022-11-282-0/+73
| | | |
| * | | safelog: Define a "Redactable" traitNick Mathewson2022-11-282-0/+93
| |/ / | | | | | | | | | | | | | | | A "redactable" object is one that can be _partially_ scrubbed in sensitive contexts. This can be very helpful for UX, but is not risk-free: see comments.