diff --git a/crates/onionwire-sdk/README.md b/crates/onionwire-sdk/README.md index 36e25a5..b789454 100644 --- a/crates/onionwire-sdk/README.md +++ b/crates/onionwire-sdk/README.md @@ -19,7 +19,7 @@ onions directly. There is no `tor` binary, no torrc, no Orbot as the pipe. | Invite | `onionwire:v1:k=…:o=…:spk=…:sig=…` | | Crypto | Noise IK (`Noise_IK_25519_ChaChaPoly_BLAKE2s`). `spk` is x25519. | | Fail closed | Peer onion down → the send fails. No outbox, no spool in v1. | -| At rest | Chat bodies encrypted (Argon2id wrap + ChaCha20-Poly1305). Identity keys in sqlite are plaintext — that is honest, not an oversight. | +| At rest | The whole `onionwire.db` is SQLCipher (Argon2id key over the 16-byte `store_salt`, handed to SQLCipher as a raw `PRAGMA key`, unlock fail-closed), so identity keys, the roster and locators are ciphertext on disk. Chat bodies keep a second per-row ChaCha20-Poly1305 layer with row-bound AAD. At-rest encryption does not protect against a live compromise or against an attacker who knows the passphrase. | ### Invite string