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

feat(keys): add a new field x5t to the entity keys #14154

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

catbro666
Copy link
Contributor

@catbro666 catbro666 commented Jan 14, 2025

Summary

jwe-decrypt plugin wants to support searching key by x5t, so there's this PR.

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

https://konghq.atlassian.net/browse/FTI-6399

@catbro666 catbro666 force-pushed the fti-6399-keys-entity-adds-x5t branch 2 times, most recently from 1be97f2 to b27d349 Compare January 15, 2025 09:09
@catbro666 catbro666 force-pushed the fti-6399-keys-entity-adds-x5t branch from b27d349 to a330557 Compare January 15, 2025 09:28
@catbro666 catbro666 marked this pull request as ready for review January 15, 2025 09:52
if x5t_type ~= "string" then
return nil, "parameter `x5t` must be of type string"
end
if set_id_type ~= "string" and set_id_type ~= "nil" then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

miswritten?

Suggested change
if set_id_type ~= "string" and set_id_type ~= "nil" then
if set_id_type ~= "string" or set_id_type ~= "nil" then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants