Skip to content

Commit

Permalink
feat: support JsonWebKey for ES256K(-R)(#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebal67 authored Nov 28, 2022
1 parent 227fe98 commit f9f1aeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/JWT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export const SUPPORTED_PUBLIC_KEY_TYPES: PublicKeyTypes = {
* not an ethereumAddress
*/
'EcdsaPublicKeySecp256k1',
'JsonWebKey2020',
],
'ES256K-R': [
'EcdsaSecp256k1VerificationKey2019',
Expand All @@ -188,6 +189,7 @@ export const SUPPORTED_PUBLIC_KEY_TYPES: PublicKeyTypes = {
* not an ethereumAddress
*/
'EcdsaPublicKeySecp256k1',
'JsonWebKey2020',
],
Ed25519: [
'ED25519SignatureVerification',
Expand Down

0 comments on commit f9f1aeb

Please sign in to comment.