From f9f1aebb33ef8adfe2200a5d0e365a0c12042098 Mon Sep 17 00:00:00 2001 From: Rebal <45282854+Rebal67@users.noreply.github.com> Date: Mon, 28 Nov 2022 06:12:04 +0100 Subject: [PATCH] feat: support JsonWebKey for ES256K(-R)(#259) --- src/JWT.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/JWT.ts b/src/JWT.ts index 116b041b..7c6d0a48 100644 --- a/src/JWT.ts +++ b/src/JWT.ts @@ -166,6 +166,7 @@ export const SUPPORTED_PUBLIC_KEY_TYPES: PublicKeyTypes = { * not an ethereumAddress */ 'EcdsaPublicKeySecp256k1', + 'JsonWebKey2020', ], 'ES256K-R': [ 'EcdsaSecp256k1VerificationKey2019', @@ -188,6 +189,7 @@ export const SUPPORTED_PUBLIC_KEY_TYPES: PublicKeyTypes = { * not an ethereumAddress */ 'EcdsaPublicKeySecp256k1', + 'JsonWebKey2020', ], Ed25519: [ 'ED25519SignatureVerification',