summaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
...
* tor-relay-crypto: port to web-time-compatNick Mathewson2026-03-261-0/+1
|
* tor-keymgr: migrate to web-time-compat.Nick Mathewson2026-03-261-0/+1
|
* tor-persist: migrate to web-time-compat.Nick Mathewson2026-03-261-0/+1
|
* tor-hcrypto: Port to web-time-compatNick Mathewson2026-03-261-0/+1
|
* tor-cert: Port to web-time-compatNick Mathewson2026-03-261-0/+1
|
* tor-checkable: Port to web-time-compatNick Mathewson2026-03-261-0/+1
|
* log-ratelim: Port to web-time-compat.Nick Mathewson2026-03-261-0/+1
|
* rtcompat, rtmock: Port to web-time-compat.Nick Mathewson2026-03-261-0/+2
|
* tor-error: Port to web-time-compat.Nick Mathewson2026-03-261-0/+3
|
* Add a new web-time-compat crate.Nick Mathewson2026-03-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | This crate provides a compatibility layer in front of web-time, which will serve three purposes: 1. Saving us from having to build web_time when we don't need it. (This is mainly aesthetic.) 2. Allowing us to continue to use std::time::SystemTime to represent our wall-clock times and dates. This is fairly valuable, since we use a bunch of external crates that expect std::time::SystemTime inputs and don't want a web_time::SystemTime. 3. Add extension methods to web_time::Instant and std::time::Instant so that we can enforce the use of web_time::Instant by disallowing std::time::Instant::now(). (We can't just use the same trick as in (2) to use std::time::Instant everywhere, since there is no way to convert a web_time::Instant to a std::time::Instant.)
* retry-error: Port to web-time.Nick Mathewson2026-03-261-0/+1
| | | | | | | | This is independent of other crates, since this one is lower-level than the tor-* crates. Note that we're using std::time::SystemTime except for its `now` method; this will be our practice elsewhere too.
* WASM: Enable `wasm_js` feature for getrandom for tor-basic-utils.Alexander Hansen Færøy2026-03-261-0/+1
|
* Merge branch 'wasm-compilation-part1' into 'main'Alexander Hansen Færøy2026-03-251-0/+5
|\ | | | | | | | | Make wasm32-unknown pass clippy (with --no-default-features, with warnings) up through tor-dirmgr. See merge request tpo/core/arti!3814
| * dirmgr: Stub out usage of Lockfile on wasm32-unknown.Nick Mathewson2026-03-251-0/+1
| | | | | | | | | | | | | | This is temporary while we wait on arti#2106. (This made cargo-sort have me move a section around. Not sure why it cares.)
| * tor_llcrypto: fix clippy for wasm32.Nick Mathewson2026-03-251-0/+4
| |
* | tor-consdiff: Use derive_more for HunkType's DisplayClara Engler2026-03-251-0/+1
| |
* | tor-consdiff: Compile-time assertion for 32-bitClara Engler2026-03-251-0/+1
| | | | | | | | | | This commit adds a compile time assertion that a u32 can always be safely casted into a usize.
* | tor-consdiff: Failed applies are a BugClara Engler2026-03-251-0/+1
| | | | | | | | | | | | Mark a failed apply from a consensus diff we generate as a bug as this should not happen. We must obviously always accept the consensus diffs we produce.
* | tor-consdiff: Replace names with custom wordlistClara Engler2026-03-251-136/+23
| | | | | | | | | | | | | | This commit replaces the names crate with a simple hardcoded wordlist of length 20, obtained from my systems wordlist. Reason for that being that names triggers a cargo-audit failure.
* | tor-consdiff: Add consdiff generation algorithmClara Engler2026-03-251-21/+148
|/ | | | | | | | This commit implements support for the consensus diff generation. Unlike CTor, it does not use its own custom algorithm but rather uses an implementation of Myers' algorithm from the `imara-diff` crate, which is pretty performant and comparable to size and run time to CTor, while being much simpler in the interfacing code.
* Bump to latest webpki (0.103.10) to resolve RUSTSEC-2026-0049Nick Mathewson2026-03-231-3/+3
| | | | | | | Advisory at https://rustsec.org/advisories/RUSTSEC-2026-0049 This issue doesn't affect Arti itself, since Arti doesn't actually _use_ regular X.509 CAs or CRLs.
* Merge branch 'http-connect-outbound-rebased' into 'main'Nick Mathewson2026-03-181-0/+2
|\ | | | | | | | | Http connect outbound rebased See merge request tpo/core/arti!3789
| * tor-chanmgr: add loopback validation, startup warning and httparseNihal2026-03-181-0/+1
| |
| * tor-chanmgr: add base64ct dependency and docsNihal2026-03-181-0/+1
| |
* | relay: Add crypto tasks unit testDavid Goulet2026-03-171-0/+1
|/ | | | | | Tests the key rotation code. Signed-off-by: David Goulet <[email protected]>
* keymgr, key-forge: Use our ssh-* forksGabriela Moldovan2026-03-161-12/+12
| | | | | | | | | | | | | | | | Upstream `ssh-key` is missing some important features we need for arti-relay: * a bug fix without which we can't convert deserialized RSA keys to their rsa counterparts: https://github.com/RustCrypto/SSH/pull/318 * @wesleyac 's patch https://github.com/RustCrypto/SSH/pull/412 for allowing insecure (1024 bits long) RSA keys (needed because the relay KS_relayid_rsa identity keys are 1024 bits long) We plan to switch back to mainline `ssh-key` when `ssh-key 0.7.0` comes out. See the discussion in #2398 for more details.
* tor-dirserver: Use tor-llcrypto for digestsClara Engler2026-03-091-3/+0
| | | | | | | | This commit replaces the uses of sha1, sha2, and sha3 with their respective pedants from tor-llcrypto for better consistency. Internally, they still use the same logic and underlying crates but let's use this encapsulation nonetheless.
* tor-dirserver: Use getters for meta structsClara Engler2026-03-091-0/+1
| | | | | | This approach is better in order to guarantee that invariants are not violated, such that the expiry timestamp not being earlier than the valid after one for example.
* tor-dirserver: Implement Sha1Clara Engler2026-03-091-0/+1
| | | | | This commit implements Sha1 for the database in order to use it for the fingerprints in authority key certificates.
* tor-dirserver: Implement Sha3_256Clara Engler2026-03-091-0/+1
| | | | | This commit implements Sha3_256 as a database type and uses it for stroing `ConsensusMeta::unsigned_sha3_256`.
* tor-dirserver: Generic database hash implementationClara Engler2026-03-091-0/+1
| | | | | | | | | | | | | | | This commit moves the `DocumentId` implementation into a macro called `impl_hash_wrapper` that implements a hash type in a database compatible fashion. In our case, we implement this for `sha2::Sha256` and then type alias `DocumentId` to this new hash. Yes, we originally moved away from a type alias here, but I think this is fine because for the foreseeable future, we will continue to use a hash here, just maybe not Sha2, but the flexibility remains. The motivation for this is to support other hash algorithms similarly too.
* Merge branch 'nonblocking-rpc-part3' into 'main'Nick Mathewson2026-03-051-0/+1
|\ | | | | | | | | rpc: API for event-driven IO. See merge request tpo/core/arti!3652
| * rpc: Change Waker implementation to EventLoop.Nick Mathewson2026-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | Per discussion, it makes more sense to have the API be one that gets called when our IO interests change. Additionally, this commit removes the try_reading and try_writing booleans, as previously discussed. I've left a couple of XXXX comments where more documentation or thought is likely needed.
* | proto: Upgrade to latest polyval.Nick Mathewson2026-03-041-23/+64
| | | | | | | | | | | | This will improve performance for CGO. Closes #2390.
* | Bump strum to 0.28Gabriela Moldovan2026-03-041-28/+49
| |
* | rtcompat: Bump async-native-tls to 0.6.0Gabriela Moldovan2026-03-041-7/+7
| |
* | arti: Bump trycmd to 1.0.0Gabriela Moldovan2026-03-041-15/+15
| |
* | Downgrade security-frameworkGabriela Moldovan2026-03-041-2/+2
| | | | | | | | See #2387
* | arti-ureq: Bump ureq to ~3.2.0Gabriela Moldovan2026-03-041-15/+15
| |
* | memquota: Bump sysinfo to 0.38.3Gabriela Moldovan2026-03-041-121/+32
| |
* | hashx: Bump dynasmrt to 5.0.0Gabriela Moldovan2026-03-041-5/+5
| | | | | | | | | | Contains a small code change as `bare_relocation()` was replaced with `value_relocation()`.
* | Bump toml_edit to 0.25.3Gabriela Moldovan2026-03-041-4/+4
| |
* | Bump toml to 1.0.3Gabriela Moldovan2026-03-041-13/+22
| |
* | Downgrade security-framework to 3.6.0Gabriela Moldovan2026-03-031-2/+2
| | | | | | | | Version 3.7.0 doesn't seem to build in CI.
* | Run cargo update post-releaseGabriela Moldovan2026-03-031-280/+286
| |
* | Bump arti crate to 2.1.0Gabriela Moldovan2026-03-021-1/+1
| | | | | | | | | | | | | | | | Done using: ``` cargo set-version --bump minor -p arti ```
* | Bump all the unstable tor- and arti- crates to 0.40.0.Gabriela Moldovan2026-03-021-50/+50
| | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.40.0 done
* | Bump the versions of the non-{arti-,tor-} cratesGabriela Moldovan2026-03-021-11/+11
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list-crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy ``` Because this release bumps the MSRV, I am bumping the minor version of all of them. MINOR=" oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* tor-relay: convert to derive_deftly(TorConfig)Nick Mathewson2026-02-241-1/+1
|
* relay: Implement a helper to build RelayIdentitiesDavid Goulet2026-02-231-0/+3
| | | | | | | This required to add a slight helper to our tor-key-forge RSA key d-d macro to access the inner keypair. This avoids a clone. Signed-off-by: David Goulet <[email protected]>