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.
I noticed that
secp256k1
wasn't supported when runninggetJWK
which returned:Error: unsupported curve name for JWT: null
.This PR should fix this, along with updates for relevant unit tests.