feat(core): zeroize in-memory secret material (Noise/Ed25519/X25519/store key)
All checks were successful
ci / test (pull_request) Successful in 3m50s
All checks were successful
ci / test (pull_request) Successful in 3m50s
Wrap every secret this crate holds in zeroize: the local identity and prekey secrets (Keys), the backup bundle and its derived Argon2id wrap key, the store data key and the SQLCipher key material, the identity secret handed out by Store::self_identity, the raw identity-secret copies in pay/qr signing, and the wallet RPC password plus the user:realm:password digest input.
This commit is contained in:
parent
e7b37ccb40
commit
fc7378596d
12 changed files with 297 additions and 71 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -2654,6 +2654,7 @@ dependencies = [
|
|||
"tor-rtcompat",
|
||||
"tracing-subscriber",
|
||||
"x25519-dalek",
|
||||
"zeroize",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
|
|||
Loading…
Reference in a new issue