github MicahParks/keyfunc v1.6.0
Specify signing algorithm for given keys

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

The purpose of this release is to allow package users to specify which signing algorithms in JWT headers are required for which given keys. Keys from a remote JWK Set had their algorithm checked in release 1.5.2. For discussion, please see the related issue.

Thank you to our new contributor, @sean-rn!

Please note the following functions have been deprecated and replaced:

  • NewGivenCustom --> NewGivenCustomWithOptions
  • NewGivenECDSA --> NewGivenECDSAWithOptions
  • NewGivenEdDSA --> NewGivenEdDSAWithOptions
  • NewGivenHMAC --> NewGivenHMACWithOptions
  • NewGivenRSA --> NewGivenRSAWithOptions

This is a consequence of not providing options for given keys in the initial implementation.

Related issues:

Related pull requests:

Don't miss a new keyfunc release

NewReleases is sending notifications on new releases.