tag:github.com,2008:https://github.com/capmec/node-jsonwebtoken/releasesTags from node-jsonwebtoken2022-12-21T12:36:01Ztag:github.com,2008:Repository/601221686/v9.0.02022-12-21T12:36:01Zv9.0.0: Merge pull request from GHSA-8cf7-32gw-wr33<p>Merge pull request from <a title="GHSA-8cf7-32gw-wr33" href="https://github.com/advisories/GHSA-8cf7-32gw-wr33">GHSA-8cf7-32gw-wr33</a></p>
<p>* Check if node version supports asymmetricKeyDetails</p>
<p>* Validate algorithms for ec key type</p>
<p>* Rename variable</p>
<p>* Rename function</p>
<p>* Add early return for symmetric keys</p>
<p>* Validate algorithm for RSA key type</p>
<p>* Validate algorithm for RSA-PSS key type</p>
<p>* Check key types for EdDSA algorithm</p>
<p>* Rename function</p>
<p>* Move validateKey function to module</p>
<p>* Convert arrow to function notation</p>
<p>* Validate key in verify function</p>
<p>* Simplify if</p>
<p>* Convert if to switch..case</p>
<p>* Guard against empty key in validation</p>
<p>* Remove empty line</p>
<p>* Add lib to check modulus length</p>
<p>* Add modulus length checks</p>
<p>* Validate mgf1HashAlgorithm and saltLength</p>
<p>* Check node version before using key details API</p>
<p>* Use built-in modulus length getter</p>
<p>* Fix Node version validations</p>
<p>* Remove duplicate validateKey</p>
<p>* Add periods to error messages</p>
<p>* Fix validation in verify function</p>
<p>* Make asymmetric key validation the latest validation step</p>
<p>* Change key curve validation</p>
<p>* Remove support for ES256K</p>
<p>* Fix old test that was using wrong key types to sign tokens</p>
<p>* Enable RSA-PSS for old Node versions</p>
<p>* Add specific RSA-PSS validations on Node 16 LTS+</p>
<p>* Improve error message</p>
<p>* Simplify key validation code</p>
<p>* Fix typo</p>
<p>* Improve error message</p>
<p>* Change var to const in test</p>
<p>* Change const to let to avoid reassigning problem</p>
<p>* Improve error message</p>
<p>* Test incorrect private key type</p>
<p>* Rename invalid to unsupported</p>
<p>* Test verifying of jwt token with unsupported key</p>
<p>* Test invalid private key type</p>
<p>* Change order of object parameters</p>
<p>* Move validation test to separate file</p>
<p>* Move all validation tests to separate file</p>
<p>* Add prime256v1 ec key</p>
<p>* Remove modulus length check</p>
<p>* WIP: Add EC key validation tests</p>
<p>* Fix node version checks</p>
<p>* Fix error message check on test</p>
<p>* Add successful tests for EC curve check</p>
<p>* Remove only from describe</p>
<p>* Remove `only`</p>
<p>* Remove duplicate block of code</p>
<p>* Move variable to a different scope and make it const</p>
<p>* Convert allowed curves to object for faster lookup</p>
<p>* Rename variable</p>
<p>* Change variable assignment order</p>
<p>* Remove unused object properties</p>
<p>* Test RSA-PSS happy path and wrong length</p>
<p>* Add missing tests</p>
<p>* Pass validation if no algorithm has been provided</p>
<p>* Test validation of invalid salt length</p>
<p>* Test error when signing token with invalid key</p>
<p>* Change var to const/let in verify tests</p>
<p>* Test verifying token with invalid key</p>
<p>* Improve test error messages</p>
<p>* Add parameter to skip private key validation</p>
<p>* Replace DSA key with a 4096 bit long key</p>
<p>* Test allowInvalidPrivateKeys in key signing</p>
<p>* Improve test message</p>
<p>* Rename variable</p>
<p>* Add key validation flag tests</p>
<p>* Fix variable name in Readme</p>
<p>* Change private to public dsa key in verify</p>
<p>* Rename flag</p>
<p>* Run EC validation tests conditionally</p>
<p>* Fix tests in old node versions</p>
<p>* Ignore block of code from test coverage</p>
<p>* Separate EC validations tests into two different ones</p>
<p>* Add comment</p>
<p>* Wrap switch in if instead of having an early return</p>
<p>* Remove unsupported algorithms from asymmetric key validation</p>
<p>* Rename option to allowInvalidAsymmetricKeyTypes and improve Readme</p>
<p>* 9.0.0</p>
<p>* adding migration notes to readme</p>
<p>* adding changelog for version 9.0.0</p>
<p>Co-authored-by: julienwoll <julien.wollscheid@auth0.com></p>edgarchirivella-oktatag:github.com,2008:Repository/601221686/v8.5.12019-03-18T11:25:21Zv8.5.1ziluvatartag:github.com,2008:Repository/601221686/v8.5.02019-02-20T13:06:59Zv8.5.0ziluvatartag:github.com,2008:Repository/601221686/v8.4.02018-11-14T10:25:12Zv8.4.0ziluvatartag:github.com,2008:Repository/601221686/v8.3.02018-06-11T15:36:46Zv8.3.0ziluvatartag:github.com,2008:Repository/601221686/v8.2.22018-05-30T15:03:24Zv8.2.2ziluvatartag:github.com,2008:Repository/601221686/v8.2.12018-04-05T11:38:11Zv8.2.1ziluvatartag:github.com,2008:Repository/601221686/v8.2.02018-03-02T12:56:32Zv8.2.0ziluvatartag:github.com,2008:Repository/601221686/v8.1.12018-01-22T19:27:15Zv8.1.1ziluvatartag:github.com,2008:Repository/601221686/v8.1.02017-10-09T17:36:47Zv8.1.0ziluvatar