mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-16 12:43:01 -04:00
fix(store-key): Zeroize the derived MacKeys
Co-authored-by: Denis Kasak <dkasak@termina.org.uk>
This commit is contained in:
@@ -348,6 +348,8 @@ impl StoreKey {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Zeroize)]
|
||||
#[zeroize(drop)]
|
||||
struct MacKey(Box<[u8; 32]>);
|
||||
|
||||
impl MacKey {
|
||||
|
||||
Reference in New Issue
Block a user