Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(jwt-plugin): Add missing pkey sanity check for ES384 and ES512 #12724

Merged
merged 2 commits into from
Mar 13, 2024
Merged

fix(jwt-plugin): Add missing pkey sanity check for ES384 and ES512 #12724

merged 2 commits into from
Mar 13, 2024

Conversation

27ascii
Copy link
Contributor

@27ascii 27ascii commented Mar 12, 2024

Summary

The plugin might fail due to invalid public keys. The sanity checks are in place for all algorithms except ES384 and ES512. In addition the usage of pkey:verify function has been harmonized across the different algorithms.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Martin Kölbel martin.koelbel@mercedes-benz.com on behalf of Mercedes-Benz Tech Innovation GmbH, Provider Information

@27ascii 27ascii marked this pull request as ready for review March 12, 2024 08:57
@team-eng-enablement team-eng-enablement added the author/community PRs from the open-source community (not Kong Inc) label Mar 12, 2024
@hanshuebner hanshuebner requested a review from jschmid1 March 12, 2024 14:47
@jschmid1 jschmid1 self-assigned this Mar 13, 2024
@jschmid1 jschmid1 added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Mar 13, 2024
@jschmid1 jschmid1 merged commit 284bf47 into Kong:master Mar 13, 2024
42 checks passed
@team-gateway-bot
Copy link
Collaborator

Successfully created cherry-pick PR for master:

@27ascii 27ascii deleted the fix/jwt-plugin-key-check branch March 13, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author/community PRs from the open-source community (not Kong Inc) cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee plugins/jwt size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants