Commit graph onionwire/docs/ARTI_UPGRADE.md
Author SHA1 Message Date
agent
0cacd41002
deps: bump the Arti tor-* set to 0.49
All checks were successful
ci / test (pull_request) Successful in 29m13s
ci / sdk (pull_request) Successful in 1m51s
android-ci / android (pull_request) Successful in 41m55s
tor-cell, tor-hsservice, tor-rtcompat and arti-client move together from
0.46 to 0.49 (Arti 2.9.0). safelog 0.9 -> 0.10 follows the set: it is a
direct dependency only for `DisplayRedacted`, and the 0.9 trait is a
different type from the one `HsId` implements under 0.49.

MSRV: Arti 0.49 requires rustc 1.92 (was 1.91). The declared floor stays
1.98 -- the default `cuprate-daemon` graph is still what sets it -- so
`rust-version`, RUST_IMAGE and the README install floor are unchanged;
only the "Arti itself builds on X" notes move to 1.92.

Upstream changes that could touch us, none of which do:
- tor-hsservice dropped the deprecated `onion_name()`; we use
  `onion_address()`.
- tor-cell's `Begin` API changed; we only decode `Connected`.
- tor-rtcompat's `Runtime` grew a `JoinSetProvider` bound; we use
  `PreferredRuntime` and implement no Runtime.
The src/hs.rs workarounds (PUBLISH_WAIT, CBT floors, empty predicted
ports) are untouched and their guard tests still pass.

Verified:
- cargo test --locked: 577 passed, 0 failed
- cargo clippy --locked --all-targets -- -D warnings: clean
- cargo test --locked --test tor_hs -- --ignored: two-node publish,
  byte pipe, restart and dormant path ok (106s, live Tor network)
- cargo test --locked --test two_node -- --ignored: plaintext absent
  from both nodes' arti/cache dirs (51s, live Tor network)
- crates/onionwire-sdk: cargo check --locked --all-targets ok
2026-12-02 01:57:27 -05:00
agent
7391c5b7a4
ci: build the default graph on Rust 1.98, not 1.91
All checks were successful
android-ci / android (pull_request) Successful in 12m6s
ci / test (pull_request) Successful in 30m41s
ci / sdk (pull_request) Successful in 14m52s
`cuprate-daemon` is a default feature, so `cargo test --locked` in the Pi CI
job compiles `tapes`. That crate calls `VecDeque::pop_front_if`, stable only
since 1.93. `rust:1.91-bookworm` dies with `error[E0658]: use of unstable
library feature 'vec_deque_pop_if'` after the rest of the graph has already
built. The Android workflows were already on 1.98 for this; ci.yml and
release.yml were left on 1.91 when the feature was off, and that is no longer
true.

`rust-version` moves with the image. cargo checks it before features, so a
1.91 compiler must be refused up front instead of fifteen minutes into
`tapes`. `--no-default-features` would still compile on 1.91; the declared
floor is the default build's floor, which is what CI and `cargo build` run.
2026-10-08 17:41:22 -04:00
agent
f95c1e7ca7
docs: rewrite README and living docs to match the tree
Audit the operator docs against the source: pin downloads to v0.14.0,
document the real CLI/flags/env/F-keys (including F9, no F7), keep 18081
as the app-owned daemon port, describe the local chat outbox vs a
server-side one, and stop implying SECURITY_AUDIT.md is a third-party
audit. Spike reports stay; they get a status header only.
2026-09-20 00:31:07 -04:00
Hermes rust-dev
69672809ab
tls: default to Arti's rustls backend (drop OpenSSL from TLS)
All checks were successful
ci / test (pull_request) Successful in 6m47s
android-ci / android (pull_request) Successful in 8m21s
ci / sdk (pull_request) Successful in 1m25s
Arti's TLS backends are non-additive; the root crate defaulted to
`native-tls` (OpenSSL). Switch `default = ["rustls"]` and pin the `rustls`
crate with its `ring` feature — `tor-rtcompat` pulls rustls in with
`default-features = false`, so without that pin the backend compiles with no
`CryptoProvider` and the first TLS config fails (same reason already recorded
in crates/onionwire-sdk/Cargo.toml).

`native-tls` stays as an opt-in feature. SQLCipher still builds vendored
OpenSSL (`bundled-sqlcipher-vendored-openssl`); that is unrelated to TLS.

- tests/tls_backend.rs: compile-time pin that the default features select
  rustls, plus a runtime check that rustls resolves a provider with no manual
  install.
- ci.yml: the root `test` job no longer installs pkg-config/libssl-dev (the
  SDK job keeps it).
- docs: README build deps, ARTI_UPGRADE backend table, release-body and the
  SDK README now describe the rustls default; the false "binaries link
  libssl.so.3 dynamically" claim is corrected.
- crates/onionwire-sdk/Cargo.lock: regenerated for the root crate's new
  dependency (separate workspace, --locked would otherwise fail).
2026-09-17 20:48:05 -04:00
Sirius DevOps
6f96d19901
ci: watch upstream Arti/tor-* releases daily and file an upgrade issue
.forgejo/workflows/arti-watch.yml runs daily (06:17 UTC) and via
workflow_dispatch: scripts/arti-watch.py compares each tor-*/arti-* pin in
Cargo.toml against crates.io and files one Forgejo issue per distinct
major.minor bump, deduped on the title so a repeat run is a no-op. It changes
no dependency.

docs/ARTI_UPGRADE.md records the pinned set (arti-client, tor-cell,
tor-hsservice, tor-rtcompat at 0.46), the lockstep rule, the rustc 1.91
floor, and the tests a bump must pass (tests/tor_hs.rs live publish +
probe-connect + byte pipe, the 360s fail-closed wait and the src/hs.rs
circuit-timeout workarounds in tests/hs.rs, the Android rustls build).

Both artefacts state what this does not cover: Tor Project security
announcements, a yanked crate, and a vulnerability with no version bump.
2026-09-12 13:55:07 -04:00