docs: describe the SQLCipher store, not the pre-#43 design
The v0.2 banner and the "Seized laptop" section still claimed only chat bodies were encrypted, that `self.identity_sk` and the roster were plaintext, and that "sqlcipher is out of v1". That has been false since #43. - README banner: whole store is encrypted at rest with SQLCipher, with the row-bound AEAD layer kept on top. - "Seized laptop": whole-file SQLCipher (Argon2id key over the 16-byte `store_salt`, raw `PRAGMA key`), identity/friends/locators inside the encrypted file, fail-closed unlock and `store_salt`-missing refusal, and the in-place v0.2.1 upgrade. Kept the honest caveats: no defense against a live compromise or a known passphrase, `/wipe` is not a forensic erase (SSD wear-levelling), and THREAT_MODEL.md stays the reference. - "Not in v1": drop `sqlcipher` (shipped in #43). - docs/SECURITY_AUDIT.md "Still true" bullet repeated the same plaintext claim; restated it as the residual risk that actually remains. No code change. Evidence: cargo test --test store (21 passed, incl. whole_store_file_is_encrypted_at_rest) and cargo test --lib -- store:: (6 passed, incl. the plaintext->SQLCipher upgrade and the wrong-passphrase no-op). Card: t_f2fc5190
This commit is contained in:
parent
c39259b919
commit
ffe6978fa0
2 changed files with 6 additions and 9 deletions
|
|
@ -24,7 +24,7 @@ Original pass: rust-dev, no live hidden service / live wallet. Ignored tests
|
|||
|
||||
## Still true / not a “finding we forgot”
|
||||
|
||||
- Identity secret key and roster (pubkeys + locators) are **plaintext** in sqlite. Chat bodies are not. Seized laptop without FDE yields who you are and who you talk to.
|
||||
- At rest the whole store is SQLCipher (Argon2id key over a 16-byte `store_salt`), so the identity secret key, roster (pubkeys + locators) and chat bodies are ciphertext on disk; chat bodies add a row-bound AEAD layer on top. That is not a defense against a live compromise or an attacker who has the passphrase — see [THREAT_MODEL.md](THREAT_MODEL.md).
|
||||
- Arti onion services are experimental. Fail closed; no C-tor fallback.
|
||||
- No public third-party audit, no `cargo-audit` gate in CI as of the original pass.
|
||||
- Invite decode still accepts the legacy concat signature (compatibility).
|
||||
|
|
|
|||
Loading…
Reference in a new issue