auth0 / node-jws

JSON Web Signatures
http://self-issued.info/docs/draft-ietf-jose-json-web-signature.html
MIT License
709 stars 108 forks source link

CURVES const might have a typo #66

Closed borromeotlhs closed 7 years ago

borromeotlhs commented 7 years ago

line 43 of node-jws/test/jws.test.js seems to map 512 to 521. Is this on purpose?

omsmith commented 7 years ago

Yes. ES512 uses the curve P-521 with SHA512.