HomePhabricator
Diffusion Comm c6ea9a5a2f99

[web-db] generate `CryptoKey` and persist

Description

[web-db] generate CryptoKey and persist

Summary:
Generating crypto key for user and persist in indexedDB.

Depends on D6995, D6993

Test Plan:
Run this code:

await webDBWorker.scheduleOnWorker({
  type: workerRequestMessageTypes.GENERATE_CRYPTO_KEY,
});

in check in indexedDB devtools if crypto key is properly persisted

Reviewers: michal, tomek

Reviewed By: michal

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D6996

Details

Provenance
kamilAuthored on Mar 7 2023, 7:15 AM
Reviewer
michal
Differential Revision
D6996: [web-db] generate `CryptoKey` and persist
Parents
rCOMM7096eb583d29: [web-db] implement crypto functions
Branches
Unknown
Tags
Unknown