summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-keymgr: BREAKING: Refactor API: Keystore::insertplaybahn2025-04-027-65/+26
| | | | | | | | | | | | | | | | | | | | | | | | Drop redundant/unused param item_type: &KeystoreItemType from keystore::Keystore::insert. Method now uses param key: &dyn EncodableItem to obtain a KeystoreItemType
| * | | tor-keymgr: keystore::ephemeral::insert: Drop item type validationplaybahn2025-04-021-20/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation: Param _item_type is redundant since prev commit. No point in checking if key_data's item type and _item_type are the same, we do things as per key_data's item type from now on. - Removes a test for item type validation.
| * | | tor-keymgr: Fix TODO: Refactor API: Keystore::insertplaybahn2025-04-024-28/+17
| | | | | | | | | | | | | | | | Makes param item_type redundant. Renames item_type -> _item_type.
* | | | Merge branch 'todo1' into 'main'opara2025-04-021-10/+68
|\ \ \ \ | |/ / / |/| | | | | | | | | | | arti: Fix TODO: Add test for onion_proxy::build_list See merge request tpo/core/arti!2896
| * | | arti: Fix TODO: Rework test: onion_proxy::build_listplaybahn2025-04-012-72/+32
| | | |
| * | | arti: onion_proxy::build_list: fix TODO: Add testplaybahn2025-04-012-7/+105
| | | |
* | | | tor-circmgr: clean up after "ntor_v3" feature flag removalSteven Engler2025-04-011-21/+13
| | | |
* | | | tor-proto: clean up after "ntor_v3" feature flag removalSteven Engler2025-04-011-2/+1
| | | |
* | | | tor-circmgr: removed "ntor_v3" feature flagSteven Engler2025-04-012-13/+1
| | | | | | | | | | | | | | | | ntor v3 is now always enabled.
* | | | tor-proto: removed "ntor_v3" feature flagSteven Engler2025-04-017-25/+1
|/ / / | | | | | | | | | ntor v3 is now always enabled.
* | | Merge branch 'semver-cleanup' into 'main'gabi-2502025-04-0112-60/+0
|\ \ \ | | | | | | | | | | | | | | | | Remove semver.md files post-release. See merge request tpo/core/arti!2911
| * | | Remove semver.md files post-release.Gabriela Moldovan2025-04-0112-60/+0
| |/ /
* | | Merge branch 'unused' into 'main'Ian Jackson2025-04-013-0/+9
|\ \ \ | |/ / |/| | | | | | | | Add some allow(unused) See merge request tpo/core/arti!2893
| * | Add some allow(unused)Ian Jackson2025-03-273-0/+9
| | | | | | | | | | | | | | | Fixes several warnings from cargo check --workspace --no-default-features
* | | tor-rtcompat: Avoid wildcard dependency requirements.Gabriela Moldovan2025-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is preventing us from publishing `tor-rtcompat`: > error: failed to publish to registry at https://crates.io > > Caused by: > the remote server responded with an error (status 400 Bad Request): wildcard (`*`) dependency constraints are not allowed on crates.io. Crate with this problem: `hex` See https://doc.rust-lang.org/cargo/faq.html#can-libraries-use--as-a-version-for-their-dependencies for more information
* | | Bump arti crate to 1.4.2Gabriela Moldovan2025-03-313-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` cargo set-version --bump patch -p arti ```
* | | Bump all the unstable tor- and arti- crates to 0.29.0.Gabriela Moldovan2025-03-3148-440/+440
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.29.0 done ```
* | | Bump the versions of the non-{arti-,tor-} crates.Gabriela Moldovan2025-03-3132-46/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ``` We split them in the following categories: * crates with no changes (no version bumps): ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' oneshot-fused-workaround: No change. slotmap-careful: No change. fslock-guard: No change. caret: No change. retry-error: No change. ``` * crates that only have non-functional changes (bump the patch version): - test-temp-dir - equix - fs-mistrust - safelog * crates where APIs were broken (bump minor): - hashx (`RngCore` impl for `SipRand`) The bumps from this commit were created using this script: ``` PATCH=" test-temp-dir equix fs-mistrust safelog " for crate in $PATCH; do cargo set-version --bump patch -p $crate; done MINOR=" hashx " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* | | Run cargo update for {hashx,equix}/bench.Gabriela Moldovan2025-03-312-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ```
* | | Merge branch 'fixup-feats' into 'main'gabi-2502025-03-311-0/+1
|\ \ \ | | | | | | | | | | | | | | | | arti-relay: Run fixup-features. See merge request tpo/core/arti!2895
| * | | arti-relay: Run fixup-features.Gabriela Moldovan2025-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes up `arti-relay`'s features in preparation for the next release. Done using ``` cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml ``` (plus manually reformatting to insert a blank line).
* | | | Upgrade to cbindgen 0.28.0Nick Mathewson2025-03-301-1/+1
| | | |
* | | | Update expected warnings from cbindgen.Nick Mathewson2025-03-301-51/+0
|/ / /
* | | Upgrade getrandom dependency to 0.3.2Gabriela Moldovan2025-03-274-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `js` feature was replaced by a configuration flag in [0.3.0], so I've checked in a `.cargo/config.toml` for `tor-llcrypto` and `tor-bytes` with `RUSTFLAGS` for selecting the `getrandom` backend to use on wasm32. [0.3.0]: https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md#030---2025-01-25
* | | Upgrade rustls-wekpki dependency to 0.103.1.Gabriela Moldovan2025-03-271-1/+1
| | | | | | | | | | | | | | | | | | We aren't affected by any of the breaking changes from [0.103.0]. [0.103.0]: https://github.com/rustls/webpki/releases/tag/v%2F0.103.0
* | | Upgrade strum dependency to 0.27.1.Gabriela Moldovan2025-03-2711-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | In 0.27.0, strum's MSRV was bumped to 1.66.1, but that's okay because ours is 1.77. We aren't affected by any of its [breaking changes]. [breaking changes]: https://github.com/Peternator7/strum/blob/master/CHANGELOG.md#0270
* | | tor-keymgr: keystore::arti::ssh: Fix typo; simplify comments.playbahn2025-03-271-8/+7
| | | | | | | | | | | | Closes #1455
* | | tor-keymgr: keystore::arti: Rework tests: ssh-keygen interopplaybahn2025-03-261-7/+4
| | | | | | | | | | | | Closes #1455 [PATCH 4(v3)/4]
* | | tor-keymgr: keystore::arti::ssh: Rework tests: ssh-keygen interopplaybahn2025-03-261-37/+115
| | | | | | | | | | | | Part of #1455 [PATCH 3(v3)/4]
* | | tor-keymgr: test_utils: TestSpecifier::path_prefix: Drop methodplaybahn2025-03-262-8/+7
| | | | | | | | | | | | Part of #1455
* | | tor-keymgr: Fix clippy errorsplaybahn2025-03-262-2/+3
| | |
* | | tor-keymgr: dep ssh-key feat: -allocplaybahn2025-03-261-1/+1
| | |
* | | tor-keymgr: test_utils: Fix unresolved importplaybahn2025-03-261-4/+8
| | |
* | | tor-keymgr: keystore::arti::tests: More intuitive assert_eq!playbahn2025-03-262-3/+2
| | |
* | | tor-keymgr: keystore::arti: Rework ssh-keygen interop testsplaybahn2025-03-261-63/+82
| | | | | | | | | | | | Closes #1455 [PATCH 4(v2)/4]
* | | tor-keymgr: keystore::arti::ssh: Rework ssh-keygen interop testsplaybahn2025-03-261-30/+52
| | | | | | | | | | | | Part of #1455 [PATCH 3(v2)/4]
* | | tor-keymgr: Rework utils for ssh-keygen interop testsplaybahn2025-03-261-52/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of #1455 [PATCH 2(v2)/4] - Rework sshkeygen::ed25519_encoded to also work as replacement for sshkeygen::exists - Drop sshkeygen::exists - Rename sshkeygen::{ed25519_encoded -> sshkeygen_ed25519_strings} - Pull out sshkeygen_ed25519_strings from mod sshkeygen - Drop mod sshkeygen
* | | tor-keymgr: Remove unused importsplaybahn2025-03-262-2/+0
| | | | | | | | | | | | _sigh_
* | | tor-keymgr: keystore::arti: Add tests for ssh-keygen interopplaybahn2025-03-261-65/+100
| | | | | | | | | | | | Closes #1455 [PATCH 4/4]
* | | tor-keymgr: keystore::arti::ssh: Add tests for ssh-keygen interopplaybahn2025-03-261-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of #1455 [PATCH 3/4] Abstract of the test(s): Encoded (key) A -> Decoded (key) A Decoded A -> Encoded B Encoded B -> Decoded B Assert that Decoded A == Decoded B
* | | tor-keymgr: test_utils: Add ssh-keygen interop test utilsplaybahn2025-03-261-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of #1455 [PATCH 2/4] Utils include: - mod sshkeygen - sshkeygen::exists - check if ssh-keygen is available - sshkeygen::ed25519_encoded - generate encoded Ed25519 keys
* | | tor-keymgr: dependency ssh-key: features: +allocplaybahn2025-03-261-1/+1
| | | | | | | | | | | | | | | | | | Part of #1455 [PATCH 1/4] ssh_key::{PrivateKey, PublicKey}::to_openssh requires feature alloc
* | | tor-keymgr: test_utils: Fix typo: TestSpecifier::new paramplaybahn2025-03-261-2/+2
|/ / | | | | | | | | | | | | TestSpecifier::new(prefix: ...) -> new(suffix: ...) Prefix is given by TestSpecifier::path_prefix() which returns const TEST_SPECIFIER_PATH = "..."
* | tor-proto: remove unnecessary `Option` from `circuit_action`Steven Engler2025-03-262-10/+9
| |
* | tor-proto: fix possible bug when there are no ready streamsSteven Engler2025-03-261-13/+21
| |
* | Merge branch 'use-patch-pwd-grp' into 'main'Jim Newsome2025-03-264-12/+28
|\ \ | | | | | | | | | | | | fix compiling fs-misstrust on tvOS See merge request tpo/core/arti!2890
| * | fix compiling fs-misstrust on tvOSyaucp2025-03-264-12/+28
| | |
* | | Merge branch 'dev/cve/pareto-cast' into 'main'Nick Mathewson2025-03-261-1/+1
|\ \ \ | | | | | | | | | | | | | | | | tor-circmgr: Explicit type annotation See merge request tpo/core/arti!2886
| * | | tor-circmgr: Explicit type annotationClara Engler2025-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds an explicit type annotation to the learning_timeouts() function, as leaving it out yielded an error while trying to compile tor-circmgr in a project that had this crate deep down in its supply chain.
* | | | Merge branch 'main' into 'main'gabi-2502025-03-261-86/+149
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | tor-keymgr: Implemented test improvements Closes #1888 See merge request tpo/core/arti!2848