kjur / jsrsasign

The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES and JSON Web Signature/Token in pure JavaScript.
https://kjur.github.io/jsrsasign
Other
3.25k stars 645 forks source link

Add support for secp256k1 #562

Open jumaffre opened 1 year ago

jumaffre commented 1 year ago

I noticed that secp256k1 wasn't supported when running getJWK which returned: Error: unsupported curve name for JWT: null.

This PR should fix this, along with updates for relevant unit tests.

sergi-garreta commented 1 year ago

Waiting for this to be merged.