summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* Run "cargo update" in preparation for release.Nick Mathewson2023-09-051-312/+258
| | | | (Only bump openssl-sys to 0.9.92; I'm having an issue with 0.9.93.)
* Update patchlevel for crates with nontrivial changes.Nick Mathewson2023-09-051-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are: ``` hashx equix tor-async-utils tor-error tor-config tor-rtmock tor-llcrypto tor-bytes tor-hscrypto tor-hspow tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-netdir tor-chanmgr tor-guardmgr tor-dirmgr tor-keymgr tor-hsclient tor-hsservice arti-client arti ```
* Minor-version bumps for crates with breaking changes.Nick Mathewson2023-09-051-2/+2
| | | | | | | | | These are: ``` tor-dirclient tor-ptmgr ```
* Bump to trust-dns-proto 0.23.0Nick Mathewson2023-09-051-25/+8
|
* Upgrade to visibility 0.1.0Nick Mathewson2023-09-051-3/+3
|
* tor-hsservice: Add partial descriptor publisher reactor implementation.Gabriela Moldovan2023-08-251-0/+6
| | | | | | | | This partially implements the descriptor publisher reactor. The code still has many TODOs and there are no tests. Partially implements #977
* hss: Retry rendezvous circuit attempts.Nick Mathewson2023-08-241-0/+1
| | | | Closes #1013.
* tor-keymgr: Bump ssh-key to 0.6.1 and remove unnecessary dependency.Gabriela Moldovan2023-08-241-3/+2
| | | | | | | Now that [ssh-key 0.6.1] is out, we no longer need the explicit sec1 dependency in tor-keymgr. [ssh-key 0.6.1]: https://github.com/RustCrypto/SSH/pull/155
* tor-keymgr, tor-hsservice: deser for ArtiPathComponent and HsNicknameIan Jackson2023-08-231-0/+2
|
* tor-hsservice: Provide a sensible HsNicknameIan Jackson2023-08-231-0/+1
|
* tor-hsservice: About half of an IPT ManagerIan Jackson2023-08-231-0/+1
| | | | There are many TODOs and no tests, but it does compile.
* tor-hsservice: Provide timeout tracking utilities - testsIan Jackson2023-08-231-0/+2
|
* tor-hsservice: Provide timeout tracking utilitiesIan Jackson2023-08-231-0/+2
| | | | | This module is perhaps rather more comprehensive than needed right now. But I found I kept wanting to change which bits of it I used.
* hss: change terminate oneshot to send "void".Nick Mathewson2023-08-221-0/+1
| | | | We don't actually want to distinguish drop from not-drop.
* HSS: Use correct timeouts and delays in IptEstablisherNick Mathewson2023-08-221-0/+1
|
* HSS: Refactor RendRequest so we can return a stream of it.Nick Mathewson2023-08-221-0/+2
| | | | | | | We need a type that holds a rend_handshake::IntroRequest object internally, but where we don't materialize that object from the Introduce2 message inside the MsgHandler, since that's more crypto than we want to put in that task.
* hss: Establish intro point by RelayIds.Nick Mathewson2023-08-221-0/+1
|
* Merge branch 'webpki-update' into 'main'Ian Jackson2023-08-221-2/+2
|\ | | | | | | | | Resolve (mostly) RUSTSEC-2023-0052 See merge request tpo/core/arti!1534
| * Upgrade to rustls-webpki unaffected by RUSTSEC-2023-0053Nick Mathewson2023-08-221-2/+2
| |
* | Merge branch 'upgrade_num_enum' into 'main'Ian Jackson2023-08-221-4/+4
|\ \ | |/ |/| | | | | Upgrade num_enum dependency to 0.7 See merge request tpo/core/arti!1530
| * Upgrade num_enum dependency to 0.7Nick Mathewson2023-08-211-4/+4
| |
* | upgrade serde to >=1.0.184trinity-1686a2023-08-211-4/+4
|/ | | | to remove the use of a pre-built blob
* Merge branch 'hss-err' into 'main'gabi-2502023-08-181-0/+1
|\ | | | | | | | | tor-hsservice errors: Introduce more error types See merge request tpo/core/arti!1515
| * tor-hsservice errors: Return ReconfigureError from reconfigureIan Jackson2023-08-171-0/+1
| | | | | | | | This is what we do elsewhere.
* | tor-hsservice: Define drop behaviour of IPT establisher statusIan Jackson2023-08-171-0/+1
| |
* | hsservice: new rend_handshake moduleNick Mathewson2023-08-171-0/+2
|/ | | | | | | | | This code has most of what we need to go from an INTRODUCE2 message we've just received to the point where we've connected to the rendezvous point and we're waiting for a stream of BEGIN messages. Unfinished pieces are marked with TODO HSS. Most of #980.
* Merge branch 'more_introducing' into 'main'Nick Mathewson2023-08-161-0/+2
|\ | | | | | | | | Write more of IptEstablisher. See merge request tpo/core/arti!1510
| * Wire up more of IptEstablisher.Nick Mathewson2023-08-161-0/+1
| | | | | | | | | | It now supports running in a loop, trying to establish an introduction point, and reporting status.
| * hsservice: migrate IptStatus design to assume a postage::watchNick Mathewson2023-08-151-0/+1
| |
* | tor-keymgr: Add sec1 0.7.3 dependency.Gabriela Moldovan2023-08-161-0/+1
| |
* | keymgr: Bump ssh-key to 0.6.0.Gabriela Moldovan2023-08-161-120/+68
|/ | | | This brings in the changes from #936.
* Start working on the backend for an IptEstablisher.Nick Mathewson2023-08-141-0/+2
| | | | | | | | This should be enough now to establish real introduction points, though there is still a lot of work to do. Part of #976. This has been rebased and edited to incorporate discussions from !1465.
* hscrypto: Expose hs_mac as a SimpleMac.Nick Mathewson2023-08-141-0/+1
|
* tor-config: Add ConfigurationSources::try_from_cmdlineIan Jackson2023-08-071-0/+1
| | | | We'll use this in crates/arti in a moment.
* proto: methods to wait until a channel/circuit is shut down.Nick Mathewson2023-08-041-0/+1
| | | | | | | | | | | | | | | | | | The implementation here is perhaps excessively simple: we put a `oneshot::Sender` in the `Reactor` object, and a `Shared<oneshot::Receiver>` in the circuit or channel. When the reactor is dropped, any copy of the `Shared<Receiver>` will yield `Err(Cancelled)`. I'm marking these methods as experimental because I'm not sure I've thought of all the implications here, and we might want to change things around. Down the road, these methods might want to yield a `Result<>` indicating why the reactor was shut down. This feature was inspired by a request from Saksham Mittal, and a felt need while working on !1472.
* Merge branch 'ticket889_fuzz' into 'main'Nick Mathewson2023-08-021-0/+1
|\ | | | | | | | | Fuzzers for Equi-X and HashX See merge request tpo/core/arti!1459
| * equix/fuzz: Fixes to get nick's prototype runningMicah Elizabeth Scott2023-08-011-0/+1
| | | | | | | | | | | | | | | | | | There are some places we might improve this, maybe testing more data types and shapes. This patch just makes the minimal changes necessary to get it working: adds allocation logic to the fuzzer itself, and adds visibility for the bucket_array::mem interface. Signed-off-by: Micah Elizabeth Scott <[email protected]>
* | equix, hashx: Benchmark against C implementationMicah Elizabeth Scott2023-08-011-255/+20
|/ | | | | | | | | | | | | | | | | | | | | This is a small batch of improvements for the equix and hashx benchmarks. The headline feature is that we are now including the C implementations (slightly modified from tevador's, hosted as part of c-tor) and using them in apples-to-apples comparisons. Minor features: - Benchmarks moved to new nested crates, preventing their dependencies from spilling into the main workspace build. - Tests are now grouped - We also test the performance of memory reuse where possible - Code cleanup for per-runtime options These benchmark builds will now automatically pull in the c-tor git repo and build portions of it with a Rust wrapper. This uses the 'cc' and 'bindgen' crates, so it requires a C compiler and libclang on the host system. Signed-off-by: Micah Elizabeth Scott <[email protected]>
* Upgrade to sanitize-filename 0.5.0Nick Mathewson2023-08-011-2/+2
|
* Merge branch 'hss_apis' into 'main'Nick Mathewson2023-08-011-0/+3
|\ | | | | | | | | | | | | hsservice: Initial data structures and APIs Closes #972, #971, and #970 See merge request tpo/core/arti!1452
| * hsservice: Adapt API sketches from onion-service-notes.mdNick Mathewson2023-07-311-0/+1
| |
| * hsservice: Adapt data structures from onion-service-notes.mdNick Mathewson2023-07-311-0/+2
| | | | | | | | | | | | | | Also, removed some older structures that don't make sense in the current design. Closes #970
* | Add error if [[bridges.transports]] isn't written in config fileSaksham Mittal2023-08-011-0/+2
| |
* | Bump patchlevel versions of crates with trivial changesNick Mathewson2023-08-011-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates have had trivial changes only: typically, changes to documentation or to clippy warnings. There's no good reason to update which version of them other crates depend on, so we only bump _their_ patchlevels. ``` tor-async-utils caret safelog tor-events tor-units tor-rtcompat tor-rpcbase tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-socksproto tor-cert tor-cell tor-consdiff tor-congestion arti-rpcserver arti-testing arti-bench arti-config arti-hyper ```
* | Increment patchlevel versions of crates with minor changesNick Mathewson2023-08-011-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates are at version 0.x.y, so we don't need to distinguish new-feature changes from other changes: ``` tor-basic-utils fs-mistrust tor-error tor-geoip tor-checkable tor-linkspec tor-netdoc tor-netdir tor-persist tor-ptmgr tor-hsservice ``` This crate has a breaking change, but only when the semver-breaking feature `experimental-api` is enabled: ``` tor-config ``` This crate is at version 1.x.y, but has no new public APIs, and therefore does not need a minor version bump: ``` arti ```
* | Update minor versions on crates that have had breaking changesNick Mathewson2023-08-011-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates had first-order breaking changes: ``` retry-error tor-keymgr tor-proto tor-hsclient tor-rtmock ``` Additionally, these broke because they re-exposed RetryError: ``` tor-circmgr ``` Additionally, these broke because they may re-expose something from tor-proto: ``` arti-client tor-chanmgr tor-dirclient tor-dirmgr tor-guardmgr ``` Additionally, these broke for other fiddly reasons: `tor-ptmgr` implements traits from tor-chanmgr, which has a breaking change above. `arti-hyper` exposes types from arti-client in its API.
* | Run cargo update in preparation for a release.Nick Mathewson2023-08-011-258/+238
|/
* hashx: use RngCore for HashX's internal PRNGMicah Elizabeth Scott2023-07-271-0/+1
| | | | | | | | | | | | | | | | | | | | | This refactors the random number generator used within HashX's program generator so that it uses the rand::RngCore trait. The basic SipHash powered u64 generator now implements RngCore, while a buffer layer wraps this and provides u8 and u32 values as needed by the generator. Some of this new RngCore layer is now exposed to the hashx crate's public API. The intent is to allow external code to test, benchmark, or fuzz the program generator by supplying its own random number stream. Benchmarks show a small but confusing performance improvement associated with this patch. About a 2% improvement in generation. This could be due to the Rng changes. No change in compiled hash execution performance. Even though this patch only touches program generation, benchmarks show a 4% speedup in interpreted execution. This seems most likely explained by instruction cache effects, but I'm not sure. Signed-off-by: Micah Elizabeth Scott <[email protected]>
* Start implementing Proposal 327Micah Elizabeth Scott2023-07-271-0/+14
| | | | | | | | | | | | | This adds a new tor-hspow crate with the first layers of support in place for onion service client puzzles as described in Proposal 327. The API here is experimental, and it's currently only implementing the self-contained parts of the client puzzle. So, it can verify and solve puzzles, but it has no event loop integration or nonce replay tracking or prioritization code yet. These things seem like they would eventually live in the same crate. Signed-off-by: Micah Elizabeth Scott <[email protected]>
* Reimplement Equi-X in RustMicah Elizabeth Scott2023-07-271-0/+20
| | | | | | | | | | | This is a new pure Rust implementation of the Equi-X algorithm designed by tevador for Tor's onion service proof of work puzzle v1. Equi-X is an asymmetric puzzle algorithm based on Equihash, with N=60, K=3, the XOR replaced with modular addition, a 16-bit index space, and HashX as the inner hash function. Signed-off-by: Micah Elizabeth Scott <[email protected]>