Page MenuHomePhabricator

Move database encryption utils to generic location
ClosedPublic

Authored by marcin on Oct 27 2023, 6:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 7:47 AM
Unknown Object (File)
Tue, Oct 29, 7:46 AM
Unknown Object (File)
Tue, Oct 29, 7:43 AM
Unknown Object (File)
Tue, Oct 29, 7:34 AM
Unknown Object (File)
Tue, Oct 29, 5:26 AM
Unknown Object (File)
Sun, Oct 27, 8:54 PM
Unknown Object (File)
Sep 29 2024, 12:52 AM
Unknown Object (File)
Sep 29 2024, 12:52 AM
Subscribers

Details

Summary

AES_GCM functions used to encrypt/decrypt database are very generic and can be directly applied to olm notifications session encryption before it is
persisted in IndexedDB. We only need to move them to generic location and rename them.

Test Plan

Run yarn jest all since it wil run worker-crypto-utils.test.js that use all moved functions. This ensures that existing functionality wasn't broken.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Rebase to update commit message

This revision is now accepted and ready to land.Oct 30 2023, 1:09 AM