v0.24.9_hotfix2
This commit is contained in:
1 parent
cb6d98064b
commit
d3f0f060bf
6 files changed
+16
-9
No files matched your search
+1
-1
@@ -367,7 +367,7 @@ fn seal_master_key(master: &[u8], backup_key: &[u8]) -> Result<Vec<u8>> {
|
||||
.seal_in_place_append_tag(
|
||||
Nonce::assume_unique_for_key(nonce_bytes),
|
||||
Aad::from(KEY_AAD),
|
||||
encrypted.as_mut(),
|
||||
&mut *encrypted,
|
||||
)
|
||||
.map_err(|_| anyhow::anyhow!("could not wrap secret store key"))?;
|
||||
let mut output = Vec::with_capacity(4 + 12 + encrypted.len());
|
||||
|
||||
Reference in new issue
Block a user