github MicahParks/keyfunc v1.5.3
Handle invalid ECDSA curve in JWK

latest releases: v3.8.0, v3.7.0, v3.6.2...
3 years ago

The purpose of this pull request is to add a a default switch case for ECDSA curve selection. Previously, if an invalid or empty crv JWK parameter was given for an ECDSA key, there would be a nil pointer dereference panic. You can find more information about valid crv ECDSA JWK parameters in this RFC: https://www.rfc-editor.org/rfc/rfc7518#section-6.2.1.1

Thank you to our new contributor, @btoews!

Related pull requests:

Don't miss a new keyfunc release

NewReleases is sending notifications on new releases.