Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update module github.com/micahparks/keyfunc/v2 to v3 (#213)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/MicahParks/keyfunc/v2](https://togithub.com/MicahParks/keyfunc) | `v2.1.0` -> `v3.3.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fMicahParks%2fkeyfunc%2fv2/v3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fMicahParks%2fkeyfunc%2fv2/v3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fMicahParks%2fkeyfunc%2fv2/v2.1.0/v3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fMicahParks%2fkeyfunc%2fv2/v2.1.0/v3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>MicahParks/keyfunc (github.com/MicahParks/keyfunc/v2)</summary> ### [`v3.3.2`](https://togithub.com/MicahParks/keyfunc/releases/tag/v3.3.2): Allow for user provided ctx during parse [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.3.1...v3.3.2) The purpose of this release is to add a new method, `.KeyfuncCtx`. This new method accepts a `context.Context`, then returns a `jwt.Keyfunc`. This user provided `context.Context` is used during JWK lookup in the `github.com/MicahParks/jwkset` package when parsing JWTs. Passing a request scoped context allows the JWT parsing and JWK retrieval to cancel according to the given `context.Context` behavior instead of the default `context.Context`, which was provided at `keyfunc.Keyfunc` initialization. In practice, this is used to prevent situations where many JWTs with `kid` not in a remote JWK Set are attempting to be parsed over a long period of time. Relevant issues: - [MicahParks/jwkset#26 Relevant pull requests: - [MicahParks/keyfunc#118 - [MicahParks/keyfunc#119 - [MicahParks/keyfunc#120 - [MicahParks/keyfunc#121 ### [`v3.3.1`](https://togithub.com/MicahParks/keyfunc/compare/v3.3.0...v3.3.1) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.3.0...v3.3.1) ### [`v3.3.0`](https://togithub.com/MicahParks/keyfunc/compare/v3.2.9...v3.3.0) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.2.9...v3.3.0) ### [`v3.2.9`](https://togithub.com/MicahParks/keyfunc/compare/v3.2.8...v3.2.9) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.2.8...v3.2.9) ### [`v3.2.8`](https://togithub.com/MicahParks/keyfunc/compare/v3.2.7...v3.2.8) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.2.7...v3.2.8) ### [`v3.2.7`](https://togithub.com/MicahParks/keyfunc/compare/v3.2.6...v3.2.7) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.2.6...v3.2.7) ### [`v3.2.6`](https://togithub.com/MicahParks/keyfunc/compare/v3.2.5...v3.2.6) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.2.5...v3.2.6) ### [`v3.2.5`](https://togithub.com/MicahParks/keyfunc/compare/v3.2.4...v3.2.5) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.2.4...v3.2.5) ### [`v3.2.4`](https://togithub.com/MicahParks/keyfunc/compare/v3.2.3...v3.2.4) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.2.3...v3.2.4) ### [`v3.2.3`](https://togithub.com/MicahParks/keyfunc/releases/tag/v3.2.3): Wrap errors where appropriate [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.1.2...v3.2.3) The purpose of this pull request is to wrap errors with [`errors.Join`](https://pkg.go.dev/errors#Join) where appropriate. Relevant issues: - [MicahParks/keyfunc#103 Relevant pull requests: - [MicahParks/keyfunc#104 ### [`v3.1.2`](https://togithub.com/MicahParks/keyfunc/releases/tag/v3.1.2): X.509 Thumbprint bug fix [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.1.1...v3.1.2) JWK Sets have two X.509 thumbprint parameters that are optional. A bug in `github.com/MicahParks/jwkset` made these parameters required in circumstances that affect the `keyfunc` project. This release updates this dependency to the latest version. Thank you, [@​joshkaplinsky](https://togithub.com/joshkaplinsky), for reporting this bug! Please see the below release for details: https://github.com/MicahParks/jwkset/releases/tag/v0.5.5 ### [`v3.1.1`](https://togithub.com/MicahParks/keyfunc/compare/v3.1.0...v3.1.1) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.1.0...v3.1.1) ### [`v3.1.0`](https://togithub.com/MicahParks/keyfunc/compare/v3.0.0...v3.1.0) [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v3.0.0...v3.1.0) ### [`v3.0.0`](https://togithub.com/MicahParks/keyfunc/releases/tag/v3.0.0): V3 simplify API by using github.com/MicahParks/jwkset [Compare Source](https://togithub.com/MicahParks/keyfunc/compare/v2.1.0...v3.0.0) This upgrade removes most of the code in this repository and outsources JWK and JWK Set related code to the updated [github.com/MicahParks/jwkset](https://togithub.com/MicahParks/jwkset) package. The exported assets from the keyfunc project has been vastly reduced as well, with the intention of making it easier to use for the majority of use cases. > \[!NOTE] > A superset of features from V1 and V2 is available. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/infratographer/x). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Signed-off-by: Mike Mason <mimason@equinix.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mike Mason <mimason@equinix.com>
- Loading branch information