Attachments: support for incrementalMac and chunkSize
This commit is contained in:
parent
dbf057856f
commit
b51a0e0298
19 changed files with 322 additions and 69 deletions
|
@ -297,8 +297,9 @@ export const writeNewAttachmentData = async ({
|
|||
const keys = generateKeys();
|
||||
|
||||
const { plaintextHash, path } = await encryptAttachmentV2ToDisk({
|
||||
plaintext: { data },
|
||||
getAbsoluteAttachmentPath,
|
||||
needIncrementalMac: false,
|
||||
plaintext: { data },
|
||||
keys,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue