| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | | Merge branch 'ptmgr-optional-dep' into 'main' | Ian Jackson | 2022-11-29 | 7 | -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/PTs | Ian Jackson | 2022-11-29 | 2 | -0/+24 | |
| | | | | | ||||||
| | * | | | arti-client: Make ptmgr actually optional | Ian Jackson | 2022-11-29 | 1 | -2/+3 | |
| | | | | | ||||||
| | * | | | guardmgr: Conditionalise DisplayRule::Redacted | Ian Jackson | 2022-11-29 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | This is unused in bridgeless configs. Fixes a compiler warning. | |||||
| | * | | | arti, arti-client: Conditionalise various things on pt-client | Ian Jackson | 2022-11-29 | 2 | -3/+5 | |
| | | | | | ||||||
| | * | | | arti cfg tests: Add some more debug output | Ian Jackson | 2022-11-29 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | MultilineListBuilder: Use a manual implementation of Deserialize | Ian Jackson | 2022-11-29 | 1 | -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 Jackson | 2022-11-29 | 6 | -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 members | Nick Mathewson | 2022-11-29 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | | | We've revised this a few times; now it seems plausible. | |||||
| | * | | | guardmgr: Remove now-unneeded #[allow(unnecessary_wraps)] | Nick Mathewson | 2022-11-29 | 1 | -1/+0 | |
| | | | | | ||||||
| | * | | | Remove deprecated aliases in tor-linkspec. | Nick Mathewson | 2022-11-29 | 4 | -17/+9 | |
| | |/ / | ||||||
| * | | | Merge branch 'ptmgr-cleanup-redux' into 'main' | Nick Mathewson | 2022-11-29 | 3 | -22/+33 | |
| |\ \ \ | |/ / |/| | | | | | | | | More post-merge cleanups for ptmgr See merge request tpo/core/arti!895 | |||||
| | * | | Clarify internal error. | Ian Jackson | 2022-11-29 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | ptmgr: Refine RetryTime for ChildSpawnFailed. | Nick Mathewson | 2022-11-29 | 1 | -1/+7 | |
| | | | | ||||||
| | * | | ptmgr: Rename ClientTransportFailed, document, and correct its RetryTime. | Nick Mathewson | 2022-11-29 | 2 | -6/+7 | |
| | | | | ||||||
| | * | | ptmgr: Replace StdioUnavailable with a PtError. | Nick Mathewson | 2022-11-29 | 2 | -11/+12 | |
| | | | | ||||||
| | * | | Rename LocalLoginFailed to ExternalToolFailed. | Nick Mathewson | 2022-11-29 | 2 | -3/+3 | |
| | | | | ||||||
| | * | | Document better what LocalProtocolViolation does not cover. | Nick Mathewson | 2022-11-29 | 1 | -1/+4 | |
| |/ / | ||||||
| * | | Merge branch 'ptmgr-cleanup' into 'main' | Nick Mathewson | 2022-11-29 | 12 | -53/+182 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Post-merge cleanups for PtMgr Closes #667 and #659 See merge request tpo/core/arti!893 | |||||
| | * | | Spelling fix in arti_client::err | eta | 2022-11-29 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Temporarily make ptmgr required for arti-client :/ | Nick Mathewson | 2022-11-28 | 2 | -2/+5 | |
| | | | | ||||||
| | * | | PtMgr: Use a persistent state directory for PT state. | Nick Mathewson | 2022-11-28 | 5 | -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 Mathewson | 2022-11-28 | 4 | -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 Mathewson | 2022-11-28 | 1 | -7/+4 | |
| | | | | ||||||
| | * | | Revise the API of "PtMgr::reconfigure" | Nick Mathewson | 2022-11-28 | 1 | -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 Mathewson | 2022-11-28 | 1 | -0/+2 | |
| | | | | ||||||
| | * | | ptmgr: Fill in some error-related code; resolve TODOs. | Nick Mathewson | 2022-11-28 | 3 | -8/+55 | |
| | | | | ||||||
| | * | | ptmgr: clear up unused_import exceptions. | Nick Mathewson | 2022-11-28 | 2 | -16/+21 | |
| | | | | ||||||
| | * | | PtMgr: New features section in README.md | Nick Mathewson | 2022-11-28 | 2 | -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 Mathewson | 2022-11-28 | 4 | -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 Jackson | 2022-11-29 | 2 | -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 Mathewson | 2022-11-29 | 2 | -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 release | Nick Mathewson | 2022-11-29 | 1 | -147/+157 | |
| |/ / / | ||||||
| * | | | Merge branch 'repro-less-shm' into 'main' | Nick Mathewson | 2022-11-29 | 2 | -10/+4 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | reproducible builds without shm Closes #614 See merge request tpo/core/arti!818 | |||||
| | * | | | use newer version of zstd and lzma | trinity-1686a | 2022-11-29 | 2 | -10/+4 | |
| | | |/ | |/| | ||||||
| * | | | Merge branch 'redacted' into 'main' | Ian Jackson | 2022-11-29 | 17 | -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 Mathewson | 2022-11-28 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | safelog: Make MaybeRedacted<T> opaque. | Nick Mathewson | 2022-11-28 | 3 | -22/+12 | |
| | | | | | ||||||
| | * | | | GuardMgr: Treat Guards as sensitive and Bridges as redacted. | Nick Mathewson | 2022-11-28 | 3 | -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 Mathewson | 2022-11-28 | 3 | -33/+3 | |
| | | | | | ||||||
| | * | | | Display guards in redacted form in guard status messages. | Nick Mathewson | 2022-11-28 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Closes #627, again. Closes #648. | |||||
| | * | | | linkspec: Give a Redacted form for chantarget. | Nick Mathewson | 2022-11-28 | 6 | -7/+85 | |
| | | | | | ||||||
| | * | | | llcrypto: Make key id types Redactable. | Nick Mathewson | 2022-11-28 | 4 | -0/+30 | |
| | | | | | ||||||
| | * | | | safelog: Add a MaybeRedacted wrapper too. | Nick Mathewson | 2022-11-28 | 1 | -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 Mathewson | 2022-11-28 | 2 | -0/+73 | |
| | | | | | ||||||
| | * | | | safelog: Define a "Redactable" trait | Nick Mathewson | 2022-11-28 | 2 | -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. | |||||
| * | | | Merge branch 'more_netdoc_tests' into 'main' | Ian Jackson | 2022-11-29 | 6 | -36/+323 | |
| |\ \ \ | |_|/ |/| | | | | | | | | tor-netdoc: More tests for routerdesc accessors and parsing. See merge request tpo/core/arti!870 | |||||
| | * | | netdoc: Add a test for routerdesc family parsing. | Nick Mathewson | 2022-11-17 | 1 | -0/+9 | |
| | | | | ||||||
| | * | | netdoc: Correct and test some tricky routerdesc errors | Nick Mathewson | 2022-11-17 | 5 | -2/+247 | |
| | | | | | | | | | | | | | These required hex-editing identity certificates :P | |||||
| | * | | netdoc: Add tests for routerdesc accessors. | Nick Mathewson | 2022-11-17 | 1 | -1/+31 | |
| | | | | ||||||
