Commit graph onionwire/crates/onionwire-sdk/README.md
Author SHA1 Message Date
rust-dev
3da7c04e8e
docs(sdk): the SDK README's at-rest row matches the SQLCipher store (stale since #43)
All checks were successful
ci / test (pull_request) Successful in 4m11s
The row still claimed identity keys are plaintext in sqlite. Since #43 the whole
onionwire.db is SQLCipher (Argon2id key over the 16-byte store_salt, raw PRAGMA
key form, fail-closed unlock), so identity keys, the roster and the locators are
ciphertext on disk; the per-row ChaCha20-Poly1305 + row-bound AAD layer stays on
top. Wording grounded in docs/THREAT_MODEL.md 'Your store is encrypted' and
src/store.rs (SALT_FILE, write_salt 0600, pragma_key). Honest caveat kept.

Docs-only; no code change.
2026-09-12 16:05:13 -04:00
Sirius DevOps
22b3a0062a
docs: add PROTOCOL.md and retire the stale audit writeup
All checks were successful
ci / test (pull_request) Successful in 3m7s
Wire format lives in docs/PROTOCOL.md so the handshake, invite, and
frames can be read without the Rust. Threat model points at it. The
in-house audit notes are a finding-status table, not a third-party
audit. SDK README no longer claims the legacy concat invite signature
is what we encode.
2026-09-11 13:15:51 -04:00
apk-dev
672f2c9990
feat(android): SDK AAR (UniFFI) + Compose APK, Arti rustls feature split
All checks were successful
ci / test (pull_request) Successful in 3m22s
Adds the Android product alongside the existing Linux TUI, in one repo.

SDK — crates/onionwire-sdk is a UniFFI facade over the very same `onionwire`
crate the TUI runs on. Identity, invite, friend upsert, send/receive, rotate
and wipe all delegate; no protocol is reimplemented, so an Android peer and a
Linux peer interoperate. It is its own Cargo workspace because Arti's TLS
backends are non-additive: the TUI keeps native-tls (OpenSSL), Android needs
rustls + static-sqlite (no OpenSSL, no system libsqlite3 in the NDK).

android/ — Gradle project. :sdk produces the AAR (Kotlin bindings generated at
build time + libonionwire_sdk.so via cargo-ndk), :app is a Kotlin/Compose/M3
messenger depending on :sdk only. minSdk 26, targetSdk/compileSdk 36,
INTERNET-only, data in filesDir, backups excluded.

Root Cargo.toml grows `native-tls` (default) and `rustls` features so exactly
one Arti TLS backend is selected per build graph. The default build is
unchanged: same backend, ratatui still a normal dependency, src/tui.rs
untouched.

Also: Store::self_fingerprint/set_petname + Node wrappers (additive only),
scripts/build-android-local.sh, README sections, .gitignore for local SDK paths.
2026-09-10 18:20:19 -04:00