From ea6ac873a81be4ce1e64109bc373df915414b84d Mon Sep 17 00:00:00 2001 From: Oleg Bespalov Date: Wed, 28 Feb 2024 15:31:46 +0100 Subject: [PATCH] Note about supported key formats --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3958205..70f7265 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,11 @@ The current state of the project is that it is an experimental module of the Web | API | AES-CBC | AES-GCM | AES-CTR | AES-KW | HMAC | ECDSA | ECDH | RSASSA-PKCS1-v1_5 | RSA-PSS | RSA-OAEP | | :---------------------------- | :------ | :------ | :------ | :----- | :--- | :---- | :--- | :---------------- | :------ | :------- | | `crypto.subtle.generateKey()` | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | -| `crypto.subtle.importKey()` | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| `crypto.subtle.exportKey()` | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| `crypto.subtle.importKey()` | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | +| `crypto.subtle.exportKey()` | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | + +> [!WARNING] +> Currently, only the `raw` and `jwk` (JSON Web Key) formats are supported for import/export operations. ##### Key derivation