summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Merge branch 'relay-cell-len' into 'main'opara2025-05-012-8/+51
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-cell: Add `UnparsedRelayMsg::data_len` See merge request tpo/core/arti!2976
| * | | | | | | | tor-cell: optimize slice indexingSteven Engler2025-04-301-2/+2
| | | | | | | | |
| * | | | | | | | tor-cell: rename `STREAM_ID_OFFSET` to `STREAM_ID_OFFSET_V0`Steven Engler2025-04-301-3/+3
| | | | | | | | |
| * | | | | | | | tor-cell: add some testing for `UnparsedRelayMsg`Steven Engler2025-04-301-4/+27
| | | | | | | | |
| * | | | | | | | tor-cell: add `UnparsedRelayMsg::data_len`Steven Engler2025-04-301-1/+21
| | | | | | | | |
* | | | | | | | | Merge branch 'contributor-doc' into 'main'Nick Mathewson2025-04-301-20/+45
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update contributor doc to encourage discussion before coding See merge request tpo/core/arti!2979
| * | | | | | | | | contributing doc: encourage discussion before codingJim Newsome2025-04-301-0/+25
| | | | | | | | | |
| * | | | | | | | | contributing doc: move 'getting started' section upJim Newsome2025-04-301-20/+20
| | | | | | | | | |
* | | | | | | | | | Merge branch 'release-2025-04-update-semver' into 'main'Nick Mathewson2025-04-303-0/+8
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint: Update semver.md files from semver-checks See merge request tpo/core/arti!2977
| * | | | | | | | | arti: Add feature flags for backwards compatibility.Wesley Aptekar-Cassels2025-04-302-2/+6
| | | | | | | | | |
| * | | | | | | | | tor-error: Don't mark enum discriminant change breaking.Wesley Aptekar-Cassels2025-04-301-1/+0
| | | | | | | | | |
| * | | | | | | | | maint: Update semver.md files from semver-checksWesley Aptekar-Cassels2025-04-304-0/+5
| | | | | | | | | |
* | | | | | | | | | Merge branch 'fixup-features-2025-04' into 'main'wesleyac2025-04-307-7/+14
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chore: Run fixup-features. See merge request tpo/core/arti!2975
| * | | | | | | | | | chore: Run fixup-features.Wesley Aptekar-Cassels2025-04-307-7/+14
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml The following features in arti-ureq were manually added to full or marked non-additive: * rustls * native-tls * tokio * async-std
* | | | | | | | | | Merge branch 'maint-cargo-audit-update-2025-04' into 'main'wesleyac2025-04-301-19/+23
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint: Remove obsolete cargo_audit warnings. See merge request tpo/core/arti!2973
| * | | | | | | | | | maint: Remove obsolete cargo_audit warnings.Wesley Aptekar-Cassels2025-04-301-19/+23
| |/ / / / / / / / /
* | | | | | | | | | Merge branch 'maint-license-update-2025-04' into 'main'Nick Mathewson2025-04-301-9/+0
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint: Update check_license exceptions. See merge request tpo/core/arti!2974
| * | | | | | | | | maint: Update check_license exceptions.Wesley Aptekar-Cassels2025-04-301-9/+0
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webpki have fixed their situation, and tinystr is now Unicode-3.0 licensed.
* | | | | | | | | Merge branch 'dev/cve/wildcard_check' into 'main'opara2025-04-302-0/+19
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint: Check for wildcard requirements Closes #1918 See merge request tpo/core/arti!2954
| * | | | | | | | maint: Check for wildcard requirementsClara Engler2025-04-292-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a script that checks all Cargo.toml files whether a version requirement contains a wildcard, that is, a version containing a "*" preceded by an arbitrary amount of digits and dots. Fixes #1918
* | | | | | | | | Merge branch 'rand_091' into 'main'Nick Mathewson2025-04-2929-65/+81
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update rand to 0.9.1 and make corresponding fixes. Closes #1903 See merge request tpo/core/arti!2970
| * | | | | | | | | tor-netdir: Warn on one more case of insufficient itemsNick Mathewson2025-04-291-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that choose_multiple_weighted can once more return fewer items than requested, we should warn when it does so, to be consistent with our other cases of warning about #1907.
| * | | | | | | | | tor-netdir: test for rand 0.9.1 behavior instead of 0.9.0Nick Mathewson2025-04-291-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rand 0.9.1 reverted the changes that caused #1903, in https://github.com/rust-random/rand/pull/1623. This broke our test that made sure that rand wasn't going to change their behavior _again_ :)
| * | | | | | | | | Update rand requirement to 0.9.1Nick Mathewson2025-04-2928-61/+60
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This is going to be a _requirement_, since rand 0.9.1 has a behavioral change from 0.9.0)
* | | | | | | | | Merge branch 'upgrade-deps-for-1.4.3' into 'main'wesleyac2025-04-2928-283/+194
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade dependencies. See merge request tpo/core/arti!2969
| * | | | | | | | | maint: Allow CDLA-Permissive-2.0 license.Wesley Aptekar-Cassels2025-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seems to be compatible with our licenses, and is used by the webpki crates.
| * | | | | | | | | Run cargo update.Wesley Aptekar-Cassels2025-04-2926-278/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I updated everything except rand, because the new version of rand interacts with #1903, thus requiring more care.
| * | | | | | | | | Upgrade dependencies.Wesley Aptekar-Cassels2025-04-292-5/+5
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates: * hashlink 0.9.1 -> 0.10.0 * Updates hashbrown * metrics-exporter-prometheus 0.16.2 -> 0.17.0 * Bumps deps * Minor API change Not updated: * rusqlite, due to MSRV incompatibility * educe (#1257) * hickroy-proto (https://github.com/hickory-dns/hickory-dns/issues/2956)
* | | | | | | | | Merge branch 'cgo-crypto-v1' into 'main'Nick Mathewson2025-04-2915-416/+2823
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement CGO cryptography backends. Closes #1943 See merge request tpo/core/arti!2942
| * | | | | | | | | tor-proto: use RelayCellFormat rather than u8 in tests.Nick Mathewson2025-04-291-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (The u8 code was written before RelayCellFormat::V1 was introduced.)
| * | | | | | | | | Rename feature cgo => counter-galois-onion.Nick Mathewson2025-04-292-5/+5
| | | | | | | | | |
| * | | | | | | | | CGO: Fix authenticated-sendme tag handling.Nick Mathewson2025-04-291-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See discussion at torspec#328: it's important that our SENDME authentication tag always be taken based on the _encrypted_ cell.
| * | | | | | | | | CGO: Note another possible performance improvement.Nick Mathewson2025-04-291-0/+3
| | | | | | | | | |
| * | | | | | | | | proto: Implement and test CGO cryptography.Nick Mathewson2025-04-294-13/+763
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides all the operations from proposal 359, along with the necessary integration and unit tests to make sure that they are behaving properly. Closes #1943
| * | | | | | | | | proto: Implement UIV+, the wide-block RPRP used for CGO.Nick Mathewson2025-04-292-1/+456
| | | | | | | | | |
| * | | | | | | | | proto: Implement CGO functions ET and PRFNick Mathewson2025-04-295-4/+846
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are a tweakable block cipher, and a pseudorandom byte stream. This commit includes test vectors, which were generated from the Python reference implementation and confirmed with a less optimized Rust implementation.
| * | | | | | | | | New empty CGO module.Nick Mathewson2025-04-292-1/+26
| | | | | | | | | |
| * | | | | | | | | proto: Unified integration tests for relay crypto.Nick Mathewson2025-04-291-3/+210
| | | | | | | | | |
| * | | | | | | | | proto: Make relay-side cell crypto traits return tags.Nick Mathewson2025-04-292-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (We'll need these tags both to implement authenticated SENDMES at the relay side, and also to make sure that cgo is generating them correctly.)
| * | | | | | | | | proto: Make crypt layers take a ChanCmd argumentNick Mathewson2025-04-295-49/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CGO will need this argument so that it can authenticate the command as part of its crypto operations. (Trying to meddle with RELAY vs RELAY_EARLY will no longer work!)
| * | | | | | | | | proto: refactor RelayCrypt trait into separate traitsNick Mathewson2025-04-295-21/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems very likely that, as with client crypto, we'll want relay crypto to separable into "forward" and "reverse" objects, so that the two can be used more or less independently.
| * | | | | | | | | proto: Tweak semantics of RelayCrypt::originate.Nick Mathewson2025-04-293-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the behavior of "originate" match the behavior of OutboundClientLayer::originate_for, which creates the message _and_ encrypts it. This will be necessary for CGO, where "originate" and "encrypt" are not easily separated operations. (Nothing uses this trait yet, since relay circuits aren't yet a thing, so it's a good time to get it right.)
| * | | | | | | | | proto: move tor1 testvector test into tor1 module.Nick Mathewson2025-04-292-54/+79
| | | | | | | | | |
| * | | | | | | | | proto: Clean up imports in tor1.rs.Nick Mathewson2025-04-292-6/+8
| | | | | | | | | |
| * | | | | | | | | proto: Move tor1 relay crypto to a separate file.Nick Mathewson2025-04-292-312/+312
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we're about to have a second kind of relay cell crypto, it makes sense to move this module. This change is pure code movement.
* | | | | | | | | Merge branch 'log_conventions' into 'main'Nick Mathewson2025-04-287-8/+97
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Log conventions Closes #1906 See merge request tpo/core/arti!2966
| * | | | | | | | Include "bug" in all bug error messagesNick Mathewson2025-04-286-8/+11
| | | | | | | | |
| * | | | | | | | New developer document about log conventions.Nick Mathewson2025-04-281-0/+86
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge branch 'fix-rustsec-2024-0384' into 'main'Jim Newsome2025-04-283-187/+31
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace signal-hook-async-std with async-signal to fix RUSTSEC-2024-0384 Closes #1867 See merge request tpo/core/arti!2960
| * | | | | | | Replace signal-hook-async-std with async-signal to fix RUSTSEC-2024-0384Vijaya Bhaskar2025-04-263-187/+31
| |/ / / / / /