summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | fuzzing: fix up targets to compile52252252025-10-077-37/+65
| | |_|/ | |/| |
* | | | tor-proto: deprecate handshake-specific create/extend variantsNick Mathewson2025-10-071-0/+10
| |_|/ |/| | | | | | | | | | | | | | | | | Everybody should use create_firsthop() and extend(), and let tor-proto decide which handshake is best. Closes #1990.
* | | Merge branch 'orport-addrs' into 'main'Ian Jackson2025-10-0717-64/+78
|\ \ \ | | | | | | | | | | | | | | | | Unify and tidy addrs methods from tor-linkspec and routerdescs See merge request tpo/core/arti!3300
| * | | tor-netdoc: Remove obsolete commentIan Jackson2025-10-061-2/+0
| | | | | | | | | | | | | | | | There is no longer a trait.
| * | | tor-netdoc: RouterStatus: unify `orport_addrs` and `addrs` methodsIan Jackson2025-10-064-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We had two functions with different return types but identical semantics. Replace them with one function returning `impl Iterator`. Make it return owned addresses. These are small.
| * | | tor-linkspec: Change HasAddrs::addrs to return an Iterator (fmt)Ian Jackson2025-10-062-2/+7
| | | |
| * | | tor-linkspec: Change HasAddrs::addrs to return an IteratorIan Jackson2025-10-0614-55/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let us model the actual structure of routerstatus entries in netdocs more closely. They don't have the addresses in a single list. When this code was written this would have been much more awkward, but now we have RPITIT.
* | | | Merge branch 'netdoc-rework-more' into 'main'Ian Jackson2025-10-076-31/+30
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | tor-netdoc: Regularise some parsing See merge request tpo/core/arti!3325
| * | | tor-netdoc: Make rs `identity` field a Base64FingerprintIan Jackson2025-10-064-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow type-driven parsing. Don't change the type in the (now-mostly-obsolete) builder and accessors; that would seem like pointless churn.
| * | | tor-netdoc: Provide Base64FingerprintIan Jackson2025-10-063-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The three other formats (!) used for representing RSA key fingerprints in netdocs were all provided with helper types, but this one was omitted. I'm going to want it.
| * | | tor-netdoc: Use derive_more to derive some From implsIan Jackson2025-10-061-21/+3
| |/ /
* | | Merge branch 'arti-relay-rsa-keys' into 'main'wesleyac2025-10-066-11/+74
|\ \ \ | | | | | | | | | | | | | | | | Lay foundations for RSA keys in keystore. See merge request tpo/core/arti!3296
| * | | tor-relay-crypto: Fix KP_relayid_rsa typo.Wesley Aptekar-Cassels2025-10-021-1/+1
| | | |
| * | | Lay foundations for RSA keys in keystore.Wesley Aptekar-Cassels2025-09-306-11/+74
| | | | | | | | | | | | | | | | | | | | | | | | This currently can't be used due to upstream limitations in the ssh_key crate, which will be removed likely in the next release. In the meantime, we can put in all the groundwork.
* | | | Merge branch 'chan_padder' into 'main'Nick Mathewson2025-10-069-59/+383
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Apply maybenot padding to channels See merge request tpo/core/arti!3314
| * | | | proto: Add a comment to note a naming issue.Nick Mathewson2025-10-021-0/+4
| | | | |
| * | | | proto: experimental API to install a per-channel padder.Nick Mathewson2025-10-022-0/+44
| | | | |
| * | | | proto: Implement channel padding with maybenot padders.Nick Mathewson2025-10-023-14/+95
| | | | | | | | | | | | | | | | | | | | With this commit we now actually generate padding when we're told to.
| * | | | proto: start implementing logic for padding actions.Nick Mathewson2025-10-024-3/+48
| | | | |
| * | | | Add a blocker to channel outbound sink.Nick Mathewson2025-10-023-1/+20
| | | | |
| * | | | proto: Make DynTimeProvider explicit in channel padder types.Nick Mathewson2025-10-021-2/+6
| | | | |
| * | | | proto: Trigger maybenot events for channel-level padding.Nick Mathewson2025-10-023-7/+44
| | | | |
| * | | | proto: Generate per-sender NormalSent events from circuits.Nick Mathewson2025-10-012-4/+14
| | | | |
| * | | | proto: Propagate PaddingCtrl into ChannelSender.Nick Mathewson2025-10-012-50/+105
| | | | | | | | | | | | | | | | | | | | We'll need it to tell the channel padder when padding is queued.
| * | | | proto: Add maybenot padding objects to the channel reactorNick Mathewson2025-10-012-1/+26
| | | | |
* | | | | Merge branch 'upgrade-opentelemetry-crates' into 'main'Nick Mathewson2025-10-061-6/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | opentelemetry: Upgrade crates. See merge request tpo/core/arti!3330
| * | | | | opentelemetry: Upgrade crates.Wesley Aptekar-Cassels2025-10-061-6/+6
| | | | | |
* | | | | | Merge branch 'file-too-large' into 'main'wesleyac2025-10-061-3/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Replace `libc::EFBIG` with `io::ErrorKind::FileTooLarge` See merge request tpo/core/arti!3218
| * | | | | | tor-hsservice: Replace `libc::EFBIG` with `io::ErrorKind::FileTooLarge`hashcatHitman2025-09-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved an MSRV TODO. We used `libc::EFBIG` previously because `io::ErrorKind::FileTooLarge` was still unstable. It has since stabilized and entered our MSRV (>= 1.83.0). Signed-off-by: hashcatHitman <[email protected]>
| * | | | | | tor-hsservice: Small typo correctionhashcatHitman2025-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unless this is a pun, I'm pretty sure this is supposed to be `EFBIG` and not `EFBUG`. Signed-off-by: hashcatHitman <[email protected]>
* | | | | | | Merge branch 'update-dynasmrt-4.0.1' into 'main'wesleyac2025-10-064-305/+234
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | hashx: Update dynasmrt. See merge request tpo/core/arti!3331
| * | | | | | hashx: Fix/ignore clippy lints.Wesley Aptekar-Cassels2025-10-061-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of these lints are in macros in a way that seems to make them impossible to avoid, or at least, I can't figure out how to avoid them.
| * | | | | | Update hashx and equix bench Cargo.lock files.Wesley Aptekar-Cassels2025-10-062-302/+228
| | | | | | |
| * | | | | | hashx: Update dynasmrt.Wesley Aptekar-Cassels2025-10-061-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From upstream changelog: * ergonomics improvements to dynamic registers * updated dependencies
* | | | | | Merge branch 'release-1.6.0-remove-semver-md' into 'main'Ian Jackson2025-10-067-12/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | release: Remove old semver.md files. See merge request tpo/core/arti!3323
| * | | | | release: Remove old semver.md files.Wesley Aptekar-Cassels2025-10-027-12/+0
| | |_|_|/ | |/| | |
* | | | | Merge branch 'release-1.6.0-bump-versions' into 'main'arti-v1.6.0wesleyac2025-10-0663-562/+562
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | release: Bump versions. See merge request tpo/core/arti!3311
| * | | | release: Update lockfiles.Wesley Aptekar-Cassels2025-10-022-3/+3
| | | | |
| * | | | release: Bump versions.Wesley Aptekar-Cassels2025-10-0261-559/+559
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we've updated our MSRV, we must bump the minor version for every package. This was done as follows: cargo set-version -p arti 1.6.0 cargo set-version -p oneshot-fused-workaround 0.4.0 cargo set-version -p slotmap-careful 0.4.0 cargo set-version -p test-temp-dir 0.5.0 cargo set-version -p fslock-guard 0.4.0 cargo set-version -p hashx 0.5.0 cargo set-version -p equix 0.4.0 cargo set-version -p caret 0.7.0 cargo set-version -p fs-mistrust 0.12.0 cargo set-version -p safelog 0.6.0 cargo set-version -p retry-error 0.8.0 xargs -I P <<END cargo set-version -p P 0.35.0 tor-basic-utils tor-error tor-general-addr tor-geoip tor-rtcompat tor-rtmock tor-async-utils tor-config tor-config-path tor-rpc-connect tor-log-ratelim tor-rpcbase tor-memquota tor-units tor-llcrypto tor-bytes tor-protover tor-checkable tor-cert tor-key-forge tor-hscrypto tor-socksproto tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-persist tor-keymgr tor-chanmgr tor-ptmgr tor-dircommon tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-dirserver tor-hsclient tor-hsservice tor-hsrproxy tor-relay-crypto arti-client arti-relay arti-rpcserver arti-ureq arti-rpc-client-core END
* | | | | release: Update release date.wesleyac2025-10-021-1/+1
| | | | | | | | | | | | | | | We plan to release on Monday.
* | | | | release: Update release date.Wesley Aptekar-Cassels2025-10-021-1/+1
|/ / / /
* | | | Merge branch 'release-1.6.0-cargo-update' into 'main'wesleyac2025-10-021-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | release: Run cargo update. See merge request tpo/core/arti!3305
| * | | | tor-hsservice: Fix time_store test.Wesley Aptekar-Cassels2025-10-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This behaviour was changed in humantime 2.3.0. Because they made this breaking change on a minor semver bump, if we want to depend on this behaviour, we would need to lock to a specific version. I don't think this is critical, but I am still looking into where exactly this is used.
* | | | | Merge branch 'release-1.6.0-fixup-features' into 'main'wesleyac2025-10-018-3/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | release: Run fixup-features. See merge request tpo/core/arti!3303
| * | | | | release: Run fixup-features.Wesley Aptekar-Cassels2025-10-018-3/+25
| |/ / / /
* | | | | Merge branch 'release-1.6.0-update-semver-files' into 'main'Alexander Hansen Færøy2025-10-014-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | release: Update semver.md files. See merge request tpo/core/arti!3308
| * | | | | release: Update semver.md files.Wesley Aptekar-Cassels2025-10-014-0/+4
| |/ / / /
* | | | | Merge branch 'update-reactor-docs' into 'main'opara2025-10-011-3/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | tor-proto: Fix comment related to validating stream messages See merge request tpo/core/arti!3298
| * | | | tor-proto: fix comment related to validating stream messagesSteven Engler2025-09-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't think the previous comment is correct. The main flow control checks are about receiving SENDME/XON/XOFFs, and ensuring that we don't receive too many of them. This all happens in the reactor. In theory the stream should be checking that we don't receive too many DATA messages for how many stream SENDMEs we've sent. But this is broken due to arti#2100. We do check this in the halfstream code though.
* | | | | Merge branch 'not-so-dangerous' into 'main'Ian Jackson2025-10-019-255/+97
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Abolish `dangerous-expose-struct-fields`; always expose, instead Closes #2192 See merge request tpo/core/arti!3299