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

Ignore keys using a P-521 curve #868

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

julien-nc
Copy link
Member

@julien-nc julien-nc commented May 14, 2024

php-jwt dropped support for P-521 curve. Parsing a keyset which contains a key using this curve will now fail. We could either wait for php-jwt to do something about that. We could also remove this key from the keyset we receive from the IdP.

This is an attempt to fix #823 by removing any key using a P-521 curve from the discovered keys.

The problem I see here is that maybe we are removing a key that we need to decode a token.

@julien-nc julien-nc added the bug Something isn't working label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant