summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tor-llcrypto: Pin x25519-dalek version, bump our crate versiontor-llcrypto-v0.4.4Ian Jackson2023-04-042-3/+3
| | | | Fixes #807
* Remove "publish = false" from tor-hsclient.arti-v1.1.3Nick Mathewson2023-03-311-2/+0
| | | | It is now a (conditional, experimental) dependency of arti-client.
* Merge branch 'version_bump' into 'main'gabi-2502023-03-3134-209/+209
|\ | | | | | | | | Bump versions for today's release of arti 1.1.3 See merge request tpo/core/arti!1102
| * Patchlevel bumps for crates whose dependencies just changed.Nick Mathewson2023-03-3119-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates had no changes until just a moment ago. But since we updated the versions on some of their dependents, they have now changed themselves. Thus they get patchlevel bumps. ``` tor-rtmock tor-protover tor-socksproto tor-consdiff tor-chanmgr tor-dirclient tor-hsservice ```
| * Bump crate versions that have breaking changesNick Mathewson2023-03-3121-32/+32
| | | | | | | | | | | | | | | | | | | | These crates have had breaking changes. They are pre-1.0, so they get a minor bump. ``` tor-basic-utils tor-config ```
| * Bump patchlevel on crates with non-breaking changesNick Mathewson2023-03-3129-126/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For these crates, the changes are nontrivial, so we _do_ bump the versions on which their dependent crates depend. Fortunately, since they are all pre-1.0, we don't need to distinguish semver-additions from other changes. (Except for arti, which _is_ post-1.0, but gets a patchlevel bump anyway.) These are unstable crates with breaking changes: ``` tor-hscrypto tor-hsclient ``` These have new or extended APIs: ``` safelog tor-bytes tor-cell tor-linkspec tor-llcrypto tor-proto tor-cert arti-client ``` These have new unstable APIs or features: ``` tor-netdoc tor-circmgr (also broke some unstable APIs) arti (is post-1.0) ``` These have bugfixes only: ``` caret tor-dirmgr ```
| * Bump patchlevel on crates with semver-irrelevant changes.Nick Mathewson2023-03-3110-18/+18
|/ | | | | | | | | | | | | | | | | | | | | | | | | Their dependents are _not_ updated to a more recent version. These bumped the version of a dependency that they don't expose ``` tor-rtcompat fs-mistrust ``` This one had internal refactoring: ``` tor-netdir ``` These had trivial changes only: ``` tor-checkable tor-ptmgr tor-guardmgr arti-hyper arti-bench arti-testing ```
* Changelog: Move "Major bugfixes" to the top.Nick Mathewson2023-03-311-5/+5
|
* Finish (?) CHANGELOG.md for 1.1.3Nick Mathewson2023-03-311-4/+64
|
* Add Gabi to exclude_contributors.Nick Mathewson2023-03-311-0/+3
| | | | (We don't include Tor employees in our "thanks" section.)
* Update CHANGELOG for last few commits.Nick Mathewson2023-03-311-2/+4
|
* Merge branch 'doc_fixes' into 'main'Nick Mathewson2023-03-301-1/+1
|\ | | | | | | | | tor-hsclient: Fix a doc link. See merge request tpo/core/arti!1101
| * tor-hsclient: Fix a doc link.Nick Mathewson2023-03-301-1/+1
| |
* | Merge branch 'update-20220330' into 'main'Nick Mathewson2023-03-301-212/+249
|\ \ | |/ |/| | | | | Run cargo update in preparation for release tomorrow. See merge request tpo/core/arti!1100
| * Run cargo update in preparation for release tomorrow.Nick Mathewson2023-03-301-212/+249
| |
* | Merge branch 'fix-broken-doc-links' into 'main'Nick Mathewson2023-03-302-5/+5
|\ \ | |/ |/| | | | | Fix broken doc link. See merge request tpo/core/arti!1082
| * Fix broken doc link.Gabriela Moldovan2023-03-272-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a broken doc link I introduced in !1070: ``` error: unresolved link to `crate::doc::hsdesc::build::inner::HsDescInnerBuilder` --> crates/tor-netdoc/src/doc/hsdesc/build/middle.rs:34:11 | 34 | /// [`crate::doc::hsdesc::build::inner::HsDescInnerBuilder`] as described in sections | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `HsDescInnerBuilder` in module `inner` | = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings` error: could not document `tor-netdoc` ``` Signed-off-by: Gabriela Moldovan <[email protected]>
* | Merge branch 'plumb' into 'main'Alexander Færøy2023-03-306-49/+69
|\ \ | | | | | | | | | | | | More plumbing for hs connections See merge request tpo/core/arti!1098
| * | Run rustfmtIan Jackson2023-03-302-21/+18
| | | | | | | | | | | | Apply this churn, which I deferred for ease of review.
| * | arti-client: Call HsCircPool::launch_background_tasksIan Jackson2023-03-301-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | I found that I had the bug where I forgot to call this function, and reached bad_api_usage!("The circuit launcher wasn't initialized") The possibility of such a bug is a hazard of this API pattern.
| * | tor-hsconn: Rename ConnError (from HsClientConnError)Ian Jackson2023-03-305-21/+21
| | | | | | | | | | | | | | | The old name was unwieldy and other crates can just as well name it by the crate scope.
| * | arti-client: When making hs conn, wait for bootstrapIan Jackson2023-03-301-0/+3
| | | | | | | | | | | | | | | Not doing this was a bug. The bug was possible because of some code duplication between the exit and hs paths. Add a comment about that.
| * | tor-client: Pass a netdir for each requestIan Jackson2023-03-304-16/+27
| | | | | | | | | | | | | | | This will be more convenient inside tor-hsclient. In arti-client, this mirrors the way TorClient::get_or_launch_exit_circ works.
* | | Merge branch 'workflow' into 'main'Ian Jackson2023-03-301-1/+22
|\ \ \ | | | | | | | | | | | | | | | | Document some workflow practices See merge request tpo/core/arti!1079
| * | | CONTRIBUTING.md: Add some refs for git autosquashIan Jackson2023-03-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One ref to the official docs, one to a reasonable-looking blog post I found via DDG. Suggested in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1079#note_2889631
| * | | CONTRIBUTING.md: Discourage contributors from rebasing (typo fix)Ian Jackson2023-03-301-1/+1
| | | |
| * | | CONTRIBUTING.md: Improve wording re not squashingNick Mathewson2023-03-301-1/+1
| | | |
| * | | CONTRIBUTING.md: Document X X X conventionIan Jackson2023-03-301-0/+7
| | | | | | | | | | | | | | | | | | | | The placement in the "Where are some good places to start hacking?" section is rather awkward, but I didn't see where else to put it.
| * | | CONTRIBUTING.md: Add more notes about TODOsIan Jackson2023-03-301-1/+5
| | | | | | | | | | | | | | | | | | | | The placement in the "Where are some good places to start hacking?" section is rather awkward, but I didn't see where else to put it.
| * | | CONTRIBUTING.md: Discourage contributors from rebasingIan Jackson2023-03-301-0/+6
| | | |
* | | | Merge branch 'send' into 'main'Alexander Færøy2023-03-301-2/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-circmgr: Make take_or_launch_stub_circuit future Send See merge request tpo/core/arti!1096
| * | | | tor-circmgr: Make take_or_launch_stub_circuit future SendIan Jackson2023-03-301-2/+1
| | |/ / | |/| | | | | | | | | | | | | | thread_rng() isn't Send. We can fix this by not holding it over an await point.
* | | | Merge branch 'ring' into 'main'gabi-2502023-03-301-7/+17
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | tor-netdir: Implement `HsDirRing::find_pos` See merge request tpo/core/arti!1095
| * | | tor-netdir: Implmeent HsDirRing::find_posIan Jackson2023-03-301-2/+3
| | | |
| * | | tor-netdir: Make the hsdir ring be a TiVecIan Jackson2023-03-301-5/+14
| |/ / | | | | | | | | | This eliminates an untyped `usize` index.
* | | Merge branch 'upgrades-20220330' into 'main'gabi-2502023-03-303-89/+116
|\ \ \ | | | | | | | | | | | | | | | | Upgrade some dependencies in preparation for tomorrow's release See merge request tpo/core/arti!1093
| * | | Upgrade dependency to latest rusqlite.Nick Mathewson2023-03-302-13/+13
| | | |
| * | | Upgrade dependency to latest async-native-tls.Nick Mathewson2023-03-302-77/+104
|/ / /
* | | Initial changelog draft for 1.1.3Nick Mathewson2023-03-301-0/+99
| | |
* | | Merge branch 'async-utils' into 'main'Nick Mathewson2023-03-2914-211/+318
|\ \ \ | |/ / |/| | | | | | | | Move functionality from tor_basic_utils to tor_async_utils See merge request tpo/core/arti!1091
| * | Move functionality from tor_basic_utils to tor_async_utilsNick Mathewson2023-03-2912-211/+237
| | | | | | | | | | | | | | | This commit is mostly code movement; I'd recommend reviewing it with git's `--color-moved` option.
| * | Make a new empty tor-async-utils crate.Nick Mathewson2023-03-295-0/+81
|/ /
* | Merge branch 'blind' into 'main'Ian Jackson2023-03-292-29/+34
|\ \ | | | | | | | | | | | | key blinding: Use consistent terminology See merge request tpo/core/arti!1085
| * | tor-hscrypto: key blinding: Use consistent terminologyIan Jackson2023-03-281-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | * Don't ever use the words "parameter" or "param". These doesn't appear in the spec anywhere. * Use `h` as the variable name for the unclamped blinding factor, and `blinding_factor` in function names.
| * | tor-llcrypto: key blinding: Use consistent terminologyIan Jackson2023-03-281-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unhelpfully, the spec uses the variable name `h` and the phrase "blinding factor" for both the unclamped and clamped value. The clamped value is internal to the algorithm. In our code: * Don't ever use the word "parameter" or variable name `param`. This doesn't appear in the spec anywhere. * Use `h` for the unclamped blinding factor, and `blinding_factor` for the clamped blinding factor. * Rename `blinding_factor` function to `clamp_blinding_factor`, since in the spec's terminology it takes an (unclamped) "blinding factor" and returns a (clamped) "blinding factor". * State explicitly what thing in the spec the `h` parameters are.
* | | Merge branch 'hspre' into 'main'Ian Jackson2023-03-298-14/+34
|\ \ \ | | | | | | | | | | | | | | | | Miscellanious tidying up (pursuant to HS client work) See merge request tpo/core/arti!1086
| * | | Tidy up an unused import warningIan Jackson2023-03-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Now cargo +stable clippy --locked --offline --workspace --all-targets is clean.
| * | | Pass HS identity to hsclient connection functionIan Jackson2023-03-282-2/+10
| | | | | | | | | | | | | | | | Obviously it will need this!
| * | | Pass HsCircPool to hsclient connect function, not CircMgr (fmt)Ian Jackson2023-03-281-5/+5
| | | |
| * | | Pass HsCircPool to hsclient connect function, not CircMgrIan Jackson2023-03-283-7/+11
| | | | | | | | | | | | | | | | | | | | We separated this out in the circmgr API. This is what the HS client needs. It doesn't want to participate in the general circuit pool.