deps: Arti set tor-* 0.46 -> 0.49 (Arti 2.9.0) #216

Merged
sirius merged 1 commit from onionwire/t_30d0f0c6-onionwire-212-arti-upstream-tor-rtcompat into main 2026-12-03 05:33:02 +00:00
Owner

Closes #212.

Bumps the Arti crate set in lockstep, 0.46 -> 0.49 (Arti 2.9.0, 2026-12-01):

crate before after
arti-client 0.46 0.49 (root and crates/onionwire-sdk)
tor-cell 0.46 0.49
tor-hsservice 0.46 0.49
tor-rtcompat 0.46 0.49
safelog 0.9 0.10

Both lockfiles refreshed (Cargo.lock, crates/onionwire-sdk/Cargo.lock); every
tor-* package in both is 0.49.0 and no 0.46.0 remains.

safelog is a direct dep from the Arti repo and moved with the set. Leaving it
at 0.9 makes HsId::display_redacted() resolve against the wrong
DisplayRedacted trait (error[E0599]). Documented in docs/ARTI_UPGRADE.md,
which now also lists the SDK pin as part of the bump.

Upstream

Arti 2.9.0 contains a medium-severity security fix (TROVE-2026-078,
builds with custom build flags) and two low-severity fixes.

MSRV: Arti 0.49 requires rustc 1.92. The repo floor stays 1.98 (that is
the cuprate-daemon / tapes floor), so rust-version, RUST_IMAGE and the
README line are unchanged.

src/hs.rs workarounds rechecked against 0.49: tor-hsservice's
OVERALL_UPLOAD_TIMEOUT is still 5 min (PUBLISH_WAIT 360s stands), and
tor-config's Listen is still IP-only (no AF_UNIX target). The API change
that touched us is the safelog one above; nothing else in our call surface moved.

Verification

  • cargo test --locked — 173 lib tests + all integration suites, 0 failed
    (full rerun after the one flaky port collision described below).
  • cargo clippy --locked --all-targets -- -D warnings — clean.
  • SDK workspace: cargo test --locked (53 + harness tests) and clippy
    --all-targets -D warnings — clean.
  • Live Tor network, cargo test --locked --test tor_hs --test two_node -- --ignored --nocapture:
    both pass (two_node_byte_pipe_restart_and_dormant 163.85s,
    alice_sends_hello_wire_bob_sqlite_has_plaintext 38.16s). The latter includes
    the plaintext-leak assertions over both nodes' Arti state/cache dirs.
  • scripts/build-android-local.sh (ANDROID_HOME set, arm64-v8a): success,
    onionwire-0.1.0-android-arm64-v8a.apk + onionwire-sdk-0.1.0.aar, checksums
    and bundled-binary check pass.

One note for reviewers: during the first full run,
wallet_child::tests::a_start_that_fails_after_the_daemon_came_up_leaves_nothing_running
failed with Address already in use because another concurrent test process on
this host held 127.0.0.1:18081. It passes in isolation (19.5s) and in the
clean full rerun; the fix is unrelated to Arti.

Closes #212. Bumps the Arti crate set in lockstep, 0.46 -> 0.49 (Arti 2.9.0, 2026-12-01): | crate | before | after | |---|---|---| | `arti-client` | 0.46 | 0.49 (root **and** `crates/onionwire-sdk`) | | `tor-cell` | 0.46 | 0.49 | | `tor-hsservice` | 0.46 | 0.49 | | `tor-rtcompat` | 0.46 | 0.49 | | `safelog` | 0.9 | 0.10 | Both lockfiles refreshed (`Cargo.lock`, `crates/onionwire-sdk/Cargo.lock`); every `tor-*` package in both is 0.49.0 and no 0.46.0 remains. `safelog` is a direct dep from the Arti repo and moved with the set. Leaving it at 0.9 makes `HsId::display_redacted()` resolve against the wrong `DisplayRedacted` trait (`error[E0599]`). Documented in `docs/ARTI_UPGRADE.md`, which now also lists the SDK pin as part of the bump. ## Upstream Arti 2.9.0 contains a **medium-severity** security fix (TROVE-2026-078, builds with custom build flags) and two low-severity fixes. MSRV: Arti 0.49 requires rustc **1.92**. The repo floor stays **1.98** (that is the `cuprate-daemon` / `tapes` floor), so `rust-version`, `RUST_IMAGE` and the README line are unchanged. `src/hs.rs` workarounds rechecked against 0.49: `tor-hsservice`'s `OVERALL_UPLOAD_TIMEOUT` is still 5 min (`PUBLISH_WAIT` 360s stands), and `tor-config`'s `Listen` is still IP-only (no AF_UNIX target). The API change that touched us is the safelog one above; nothing else in our call surface moved. ## Verification - `cargo test --locked` — 173 lib tests + all integration suites, 0 failed (full rerun after the one flaky port collision described below). - `cargo clippy --locked --all-targets -- -D warnings` — clean. - SDK workspace: `cargo test --locked` (53 + harness tests) and clippy `--all-targets -D warnings` — clean. - Live Tor network, `cargo test --locked --test tor_hs --test two_node -- --ignored --nocapture`: both pass (`two_node_byte_pipe_restart_and_dormant` 163.85s, `alice_sends_hello_wire_bob_sqlite_has_plaintext` 38.16s). The latter includes the plaintext-leak assertions over both nodes' Arti state/cache dirs. - `scripts/build-android-local.sh` (ANDROID_HOME set, arm64-v8a): success, `onionwire-0.1.0-android-arm64-v8a.apk` + `onionwire-sdk-0.1.0.aar`, checksums and bundled-binary check pass. One note for reviewers: during the first full run, `wallet_child::tests::a_start_that_fails_after_the_daemon_came_up_leaves_nothing_running` failed with `Address already in use` because another concurrent test process on this host held `127.0.0.1:18081`. It passes in isolation (19.5s) and in the clean full rerun; the fix is unrelated to Arti.
deps: bump the Arti set tor-* 0.46 -> 0.49 (Arti 2.9.0)
All checks were successful
ci / test (pull_request) Successful in 31m8s
ci / sdk (pull_request) Successful in 1m34s
android-ci / android (pull_request) Successful in 18m10s
90d982b369
Arti publishes these in lockstep. Bumped together:
- arti-client 0.46 -> 0.49 (root + crates/onionwire-sdk, both lockfiles)
- tor-cell, tor-hsservice, tor-rtcompat 0.46 -> 0.49
- safelog 0.9 -> 0.10 (same repo; 0.49's HsId implements safelog 0.10's
  DisplayRedacted, so the old direct pin broke display_redacted)

Arti 0.49 (Arti 2.9.0, 2026-12-01) carries a medium-severity security fix
(TROVE-2026-078, custom build flags) and two low-severity fixes.

MSRV unchanged: Arti 0.49 needs rustc 1.92, the repo floor stays 1.98
(cuprate-daemon / tapes). Only docs/comments moved; src/hs.rs workarounds
rechecked against 0.49: tor-hsservice OVERALL_UPLOAD_TIMEOUT is still 5 min
(PUBLISH_WAIT 360s stands) and tor-config's Listen is still IP-only.

Verified: cargo test --locked (173 lib + all integration suites), clippy
--locked --all-targets -D warnings, SDK cargo test/clippy, live ignored
tor_hs + two_node tests, and scripts/build-android-local.sh (APK + AAR).
Author
Owner

Sibling-PR note: the Arti watcher files one issue per crate, so this bump exists four times: #213 (card #209), #214 (#210), #215 (#211) and this PR (#216). They edit the same lockstep set (Cargo.toml, Cargo.lock, SDK pin/lock) and will conflict. This one is fully verified locally — offline suite, clippy, SDK workspace, live Tor tor_hs + two_node, and the Android APK/AAR build, all passing. Merge one; close the rest.

CI on this head is queued behind the other runs; local results are in the description above.

Sibling-PR note: the Arti watcher files one issue per crate, so this bump exists four times: #213 (card #209), #214 (#210), #215 (#211) and this PR (#216). They edit the same lockstep set (`Cargo.toml`, `Cargo.lock`, SDK pin/lock) and will conflict. This one is fully verified locally — offline suite, clippy, SDK workspace, live Tor `tor_hs` + `two_node`, and the Android APK/AAR build, all passing. Merge one; close the rest. CI on this head is queued behind the other runs; local results are in the description above.
sirius merged commit 7665da997e into main 2026-12-03 05:33:02 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sirius/onionwire!216
No description provided.