Skip to content

Commit

Permalink
Fixed mapping of SHA1 on algToJWKAlg
Browse files Browse the repository at this point in the history
  • Loading branch information
bobgrey committed Mar 29, 2024
1 parent ba30d26 commit e05ef27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/keyUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const algToJWKAlg = {
"RSASSA-PKCS1-v1_5_w_SHA256": "RS256",
"RSASSA-PKCS1-v1_5_w_SHA384": "RS384",
"RSASSA-PKCS1-v1_5_w_SHA512": "RS512",
"RSASSA-PKCS1-v1_5_w_SHA1": "RS256",
"RSASSA-PKCS1-v1_5_w_SHA1": "RS1",
/*
PS256-512 is untested
"RSASSA-PSS_w_SHA-256": "PS256",
Expand Down

0 comments on commit e05ef27

Please sign in to comment.