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

KeyFunc should be able to return a slice #339

Closed
notrobpike opened this issue Aug 18, 2023 · 2 comments
Closed

KeyFunc should be able to return a slice #339

notrobpike opened this issue Aug 18, 2023 · 2 comments

Comments

@notrobpike
Copy link

In order to facilitate key rotation, without using a kid or other explicit claim, the keyfunc should be allowed to return a slice of eligible keys, and then the verifier will try each in turn until success or running out of keys.

It would be pretty simple to make it backwards compatible with the current usage of returning a single key.

@oxisto
Copy link
Collaborator

oxisto commented Aug 19, 2023

We are currently looking into this in #328

@oxisto oxisto linked a pull request Aug 19, 2023 that will close this issue
@oxisto
Copy link
Collaborator

oxisto commented Sep 13, 2023

Fixed by #344

@oxisto oxisto closed this as completed Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants