deps(tor): arti-client / tor-* 0.46 -> 0.49, safelog 0.9 -> 0.10
Arti publishes the whole tor-* family in lockstep, so arti-client, tor-cell, tor-hsservice and tor-rtcompat move together in both workspaces (root crate and crates/onionwire-sdk, which pins the feature set for Android). Arti 0.49 depends on safelog 0.10. OnionWire names safelog directly for `DisplayRedacted` on HsId, so leaving the direct dep at 0.9 puts two safelog versions in the graph and two incompatible DisplayRedacted traits, and src/hs.rs stops compiling. Bumped to 0.10; the trait's method surface (display_redacted / display_unredacted) is unchanged. Arti 0.49's own MSRV is 1.92, still below the 1.98 floor the default cuprate-daemon graph sets (tapes needs VecDeque::pop_front_if, 1.93), so no toolchain or CI image change. The hs.rs workarounds are still correct in 0.49: tor-hsservice 0.49's OVERALL_UPLOAD_TIMEOUT is still 5 min (PUBLISH_WAIT 360s covers it), the default predicted exit ports are still 80/443 (we override to empty), and the status State variants hs_is_ready matches on are unchanged. Closes #209
This commit is contained in:
parent
20d2d00e4d
commit
6feabee734
11 changed files with 954 additions and 704 deletions
|
|
@ -321,7 +321,7 @@ the app does not pick a public remote node for them.
|
|||
every in-process surface still says `testnet only — mainnet is unvalidated`.
|
||||
Cross-compiled is not device-proven.
|
||||
- Cuprate's own `arti` feature is off (its Tor stack is `arti-client` 0.44,
|
||||
which cannot unify with this crate's 0.46), so the in-process daemon's P2P
|
||||
which cannot unify with this crate's 0.49), so the in-process daemon's P2P
|
||||
traffic is **clearnet**: your ISP sees that this device talks to Monero
|
||||
peers. No Tor is on the chain path — Tor is the messenger's transport here,
|
||||
not the chain's.
|
||||
|
|
@ -340,7 +340,7 @@ the app does not pick a public remote node for them.
|
|||
`connect()`, and not a C-tor fallback for chat). That listener is the
|
||||
bundled `arti` **binary** run as a child (`arti proxy -p <port>`) — a
|
||||
second, separate Tor client with its own state and cache dirs, because
|
||||
`arti-client` 0.46 exposes no SOCKS listener API. It is TCP loopback only
|
||||
`arti-client` 0.49 exposes no SOCKS listener API. It is TCP loopback only
|
||||
(`arti proxy -p` binds `127.0.0.1`/`::1`; arti 2.6.0 / `tor-config` 0.46
|
||||
have no Unix-socket listen target — arti#1965), and the port is usable by
|
||||
any local process at the user's privilege level: it is an app-private port,
|
||||
|
|
|
|||
Loading…
Reference in a new issue