Store IV when encrypting or decrypting attachments

This commit is contained in:
trevor-signal 2024-05-28 21:12:14 -04:00 committed by GitHub
parent 1d5690acba
commit 85a75cb28f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 136 additions and 11 deletions

View file

@ -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,