Store IV when encrypting or decrypting attachments
This commit is contained in:
parent
1d5690acba
commit
85a75cb28f
6 changed files with 136 additions and 11 deletions
|
@ -40,6 +40,7 @@ export async function uploadAttachment(
|
|||
cdnKey,
|
||||
cdnNumber,
|
||||
key: keys,
|
||||
iv: encrypted.iv,
|
||||
size: attachment.data.byteLength,
|
||||
digest: encrypted.digest,
|
||||
plaintextHash: encrypted.plaintextHash,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue