Skip to content

Commit

Permalink
fix: Internally alg needs uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Sep 24, 2023
1 parent 541625a commit 0388f11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class SphereonJsonWebSignature2020 extends SphereonLdSignature {
if (key.type === 'Ed25519' || key.type === 'X25519') {
alg = 'EdDSA'
} else if (key.type === 'Secp256k1') {
alg = 'ES256k'
alg = 'ES256K'
} else if (key.type === 'Secp256r1') {
alg = 'ES256'
} else if (key.type === 'Bls12381G1') {
Expand Down

0 comments on commit 0388f11

Please sign in to comment.