summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* tor-memquota: Downgrade to 0.18Gabriela Moldovan2024-06-051-1/+1
| | | | | | | | | | | | | I was unable to publish tor-memquota 0.19 because I don't have ownership ``` error: failed to publish to registry at https://crates.io Caused by: the remote server responded with an error (status 403 Forbidden): this crate exists but you don't seem to be an owner. If you believe this is a mistake, perh aps you need to accept an invitation to be an owner before publishing. ``` Let's downgrade it for now.
* Bump the arti crate to 1.2.4.Gabriela Moldovan2024-06-051-1/+1
| | | | | | | | Done using ``` cargo set-version -p arti --bump patch ```
* Bump all the unstable tor- and arti- crates to 0.19.Gabriela Moldovan2024-06-051-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unstable crates are: - tor-error - tor-config - tor-units - tor-geoip - tor-rtcompat - tor-rtmock - tor-log-ratelim - tor-rpcbase - tor-memquota - tor-llcrypto - tor-protover - tor-bytes - tor-hscrypto - tor-socksproto - tor-checkable - tor-cert - tor-linkspec - tor-cell - tor-proto - tor-netdoc - tor-consdiff - tor-netdir - tor-relay-selection - tor-persist - tor-chanmgr - tor-ptmgr - tor-guardmgr - tor-circmgr - tor-dirclient - tor-dirmgr - tor-keymgr - tor-hsclient - tor-hsservice - tor-hsrproxy - arti-client - arti-rpcserver - arti-hyper - tor-basic-utils - tor-async-utils Done using ``` for p in "${unstable[@]}"; do cargo set-version -p $p 0.19; done ``` where `unstable` contains the list above
* Merge branch 'upgrades-20240531' into 'main'David Goulet2024-06-031-227/+229
|\ | | | | | | | | Upgrade and update packages for upcoming release See merge request tpo/core/arti!2177
| * Run cargo update in preparation for releaseNick Mathewson2024-05-311-224/+225
| |
| * Upgrade to latest priority-queue.Nick Mathewson2024-05-311-3/+4
| |
* | tor-guardmgr: Add test for vanguards state file deserialization.Gabriela Moldovan2024-06-031-0/+2
| | | | | | | | This checks that we can read `vanguards.json` state files.
* | Merge branch 'keymgr-key-scripts' into 'main'gabi-2502024-06-031-0/+39
|\ \ | |/ |/| | | | | tor-keymgr: Add script for generating test key files. See merge request tpo/core/arti!2121
| * maint/keygen-openssh-test: Make keygen deterministic.Gabriela Moldovan2024-05-161-0/+21
| |
| * tor-keymgr: Move keygen script to maint.Gabriela Moldovan2024-05-151-12/+12
| |
| * tor-keymgr: Make keygen crate part of the workspace.Gabriela Moldovan2024-05-151-0/+18
| |
* | Downgrade to previous libc crateNick Mathewson2024-05-171-2/+2
| | | | | | | | The current version has been yanked.
* | Merge remote-tracking branch 'upstream/main' into HEADGabriela Moldovan2024-05-151-0/+8
|\ \
| * | arti-client: Add one-hop circuit examplejuga2024-05-151-0/+2
| |/ | | | | | | Co-authored-by: gabi-250 <[email protected]>
| * RPC: Require DynClone for ClientConnectionError.Nick Mathewson2024-05-141-0/+1
| |
| * RPC: RpcDataStream type to act as a "stream-shaped hole"Nick Mathewson2024-05-141-0/+1
| | | | | | | | | | | | | | | | | | The application creates these, using a new-stream-handle RPC command, on an object that can actually create streams. Then later, the application provides the (global) identity of one of these objects when it's making a SOCKS connection. This causes the object to take hold of a `DataStreamCtrl`.
| * RPC: Add a trait that can be the target of SOCKS requestsNick Mathewson2024-05-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (These will later become objects that can receive any application request, once we have HTTP connect.) For now, Session and TorClient implement this trait; but soon there will be a new type to hold on to the created DataStreamCtrl. There are some XXXXs here, marking code that is too ugly to live. I should fix it before I merge this branch.
| * rpc: Add helper type for methods that return a single id.Nick Mathewson2024-05-091-0/+1
| |
| * tor-rpcbase: Use Void to eliminate a panic, as statically unreachableIan Jackson2024-05-021-0/+1
| |
* | arti: Bump patchlevel.Gabriela Moldovan2024-05-151-1/+1
| | | | | | | | This contains the fix for TROVE-2024-003 (arti#1409).
* | tor-circmgr: Bump patchlevel.Gabriela Moldovan2024-05-151-1/+1
|/
* Update lockfileIan Jackson2024-04-301-43/+43
| | | | cargo fetch --offline
* cargo update, to update our Cargo.lockIan Jackson2024-04-301-208/+244
|
* Rename tor-memtrack to tor-memquotaIan Jackson2024-04-291-1/+1
|
* tor-memtrack: Add dependencies and imports we're going to useIan Jackson2024-04-231-0/+18
| | | | Establish the principal in-crate namespace.
* tor-memtrack: Introduce new crate (empty)Ian Jackson2024-04-231-0/+8
| | | | | | | Put it just above tor-rpcbase, which maybe it would want to use for metrics export via RPC? For now we have some dead code `#[allow]`s.
* Switch to figment 1.0.18 and extract_lossyNick Mathewson2024-04-221-2/+2
| | | | | | | The new (dubiously named) `Figment::extract_lossy` method can treat decode numbers from strings, and booleans from numbers or strings. This makes the behavior compatible with config-rs, and should (I hope) finally allow us to migrate.
* Convert tor-config to use figment.Nick Mathewson2024-04-221-37/+33
| | | | | There are probably ways to make this a bit more elegant, but at least the tests still pass.
* tor-guardmgr: Move vanguard set replenishing logic to VanguardSetsTrackedMut.Gabriela Moldovan2024-04-221-0/+1
| | | | | | A lot of this is code motion: the code added to `VanguardSetsTrackedMut` was copied from the `VanguardMgr` impl, so I recommend reviewing this with `git diff --color-moved=zebra`.
* rustls: Avoid aws-lc-rs for now.Nick Mathewson2024-04-221-164/+0
|
* Upgrade to futures-rustls 0.26.0, rustls 0.23.5.Nick Mathewson2024-04-221-44/+212
| | | | | | | | | The rustls upgrade will solve #1377 and CVE-2024-32650. Note that we've had to patch our RustlsProvider impl a bit in order to keep the tests passing. See comments. Closes #1377.
* Merge branch 'rpc_deftly' into 'main'Ian Jackson2024-04-111-60/+43
|\ | | | | | | | | Refactor RPC system to use derive_deftly; add generic-object support See merge request tpo/core/arti!2079
| * Upgrade derive-deftly requirement to 0.10.3Nick Mathewson2024-04-111-60/+40
| | | | | | | | We're taking this for the fix to derive-deftly#52.
| * Port many of the macros in tor-rpcbase to use derive-deftly.Nick Mathewson2024-04-041-4/+7
| | | | | | | | | | | | This simplifies our implementation logic in a few places, and simplifies our invocation syntax greatly. There are a few infelicities, noted in `TODO RPC` comments.
* | tor-guardmgr: Add tests for the vanguard manager.Gabriela Moldovan2024-04-051-0/+1
| |
* | tor-netdir: Implement TestNetDirProvider::events().Gabriela Moldovan2024-04-051-0/+1
|/
* tor-linkspec: Use derive-deftly rather than strum for same_relay_idsIan Jackson2024-04-031-0/+1
|
* Merge branch 'deftly' into 'main'Ian Jackson2024-04-031-45/+26
|\ | | | | | | | | Switch to derive-deftly See merge request tpo/core/arti!2066
| * Switch to derive-deftlyIan Jackson2024-04-031-45/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the combination of a number of separate commits, many of which were generated by seddery, and then rebased and squashed. Cargo.toml perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml (not regenerated during rebase) update Cargo.lock `cargo fetch` without --locked (regenerated during rebase) seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}' (not regenerated during rebase) Manually add `#[derive_deftly_adhoc]` where needed. seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}' (not regenerated during rebase) Manually fix up an import Manually update some builder attrs Manually fix up tor_rtmock::time_core This was missed in my seddery, due to me rebasing the branch and not redoing the seddery.
* | remove unused dependenciestrinity-1686a2024-04-021-41/+0
|/ | | | Edited-by: Nick Mathewson <[email protected]>
* Bump arti crate to 1.2.1Nick Mathewson2024-04-021-1/+1
| | | | | | | Done with ``` cargo set-version -p arti --bump patch ```
* Update unstable `tor/arti-*` crates to 0.17.0.Nick Mathewson2024-04-021-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with: ``` CRATES=" tor-basic-utils tor-async-utils tor-error tor-config tor-events tor-units tor-geoip tor-rtcompat tor-rtmock tor-log-ratelim tor-rpcbase tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-hspow tor-socksproto tor-checkable tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-congestion tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy arti-client arti-rpcserver arti-config arti-hyper arti-bench arti-testing " for crate in $CRATES; do cargo set-version -p "$crate" 0.17.0 done ```
* Bump patchlevel versions on non-{tor/arti} crates.Nick Mathewson2024-04-021-8/+8
| | | | | | | | | | | | | | | | These have all had backward-compatible changes. Generated with: ``` cargo set-version --bump patch -p fs-mistrust cargo set-version --bump patch -p test-temp-dir cargo set-version --bump patch -p fslock-guard cargo set-version --bump patch -p hashx cargo set-version --bump patch -p equix cargo set-version --bump patch -p caret cargo set-version --bump patch -p safelog cargo set-version --bump patch -p retry-error ```
* Run "cargo update" in preparation for next releaseNick Mathewson2024-04-011-273/+296
|
* tor-rtcompat: Provide coarsetime APIs and RealCoarseTimeProviderIan Jackson2024-03-251-0/+3
|
* tor-circmgr: Add functions for checking if vanguards are enabled.Gabriela Moldovan2024-03-201-0/+1
|
* Remove now-needless dependencies on the "config" crateNick Mathewson2024-03-131-2/+1
| | | | | arti and arti-testing no longer need it; tor-config no longer needs it in dev-dependencies.
* tor_config: Hide macro-only re-exports.Nick Mathewson2024-03-131-1/+0
| | | | | Our macros use these exports, but we don't need everybody else to be able to see them.
* ptmgr: Use Itertools directly.Nick Mathewson2024-03-131-0/+1
| | | | Previously it used tor_config::Itertools, which is silly.
* relay-cell: Update relay cell decoding API for prop340Jim Newsome2024-03-121-0/+1
| | | | | | | | | | | Prop 340: https://spec.torproject.org/proposals/340-packed-and-fragmented.html This updates the decoding API to support multiple versions of the relay cell encoding, including the new encoding proposed in prop340 that supports relay message packing and fragmentation. This commit doesn't actually add support for that new encoding yet.