mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Add roundtrip SubtleCrypto import/export test using JWK
This commit is contained in:
committed by
Andrew Kaster
parent
95303ae4a1
commit
0743a33266
Notes:
sideshowbarker
2024-07-17 06:54:15 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/0743a33266 Pull-request: https://github.com/SerenityOS/serenity/pull/23596 Reviewed-by: https://github.com/alimpfard
@@ -21,8 +21,6 @@
|
||||
"unwrapKey",
|
||||
]);
|
||||
|
||||
// FIXME: Create a roundtrip test that starts with a key object and imports it, then exports it.
|
||||
|
||||
let exportedPublicKey = await window.crypto.subtle.exportKey("jwk", key.publicKey);
|
||||
println(`exportedPublicKey kwt: ${exportedPublicKey.kty}`);
|
||||
println(`exportedPublicKey alg: ${exportedPublicKey.alg}`);
|
||||
|
||||
Reference in New Issue
Block a user