HomePhabricator
Diffusion Comm aac1bb2aa972

[web-db] add methods to import/export key to `JWK` format

Description

[web-db] add methods to import/export key to JWK format

Summary:
JWK is JSON objects representation of private, public, and secret keys (docs).
This allows transferring key between threads on Safari, structure clone algorithm should handle JWK format which is a simple JS object.
(context)

Depends on D8118

Test Plan: Run tests

Reviewers: michal, tomek

Reviewed By: tomek

Subscribers: ashoat

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

Details

Provenance
kamilAuthored on Jun 6 2023, 9:03 AM
Reviewer
tomek
Differential Revision
D8119: [web-db] add methods to import/export key to `JWK` format
Parents
rCOMM6d91d8394f5c: [web-db] add `extractable` param while creating crypto key
Branches
Unknown
Tags
Unknown