Commit graph onionwire/docs/ARTI_UPGRADE.md
Author SHA1 Message Date
agent
90d982b369
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
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).
2026-12-02 02:37:17 -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