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
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.
This commit is contained in:
parent
c39259b919
commit
3da7c04e8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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=…` |
|
| Invite | `onionwire:v1:k=…:o=…:spk=…:sig=…` |
|
||||||
| Crypto | Noise IK (`Noise_IK_25519_ChaChaPoly_BLAKE2s`). `spk` is x25519. |
|
| 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. |
|
| 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
|
### Invite string
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue