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

Support for custom key usage types in JWKs #1115

Closed
ljmsc opened this issue Apr 17, 2024 · 3 comments
Closed

Support for custom key usage types in JWKs #1115

ljmsc opened this issue Apr 17, 2024 · 3 comments
Assignees

Comments

@ljmsc
Copy link

ljmsc commented Apr 17, 2024

Hey,
I just noticed that only the two key usage types which are mentioned in the RFC are supported in a JWKs ("enc" and "sig"). The RFC also says that other values MAY be used. Could you add support for custom key usage types in JWKs?

@lestrrat
Copy link
Collaborator

While I think I know what you are asking for, I'd rather you be more specific before I jump into conclusions.

If you are asking for new functionality, please read the contribution guideline and include code. It helps even if it's pseudocode.

@lestrrat
Copy link
Collaborator

FWIW I think you are encountering a problem when decoding a JWK, because it's failing at Accept.
Either way, I think it would be great if we can have some code.

@ljmsc
Copy link
Author

ljmsc commented Apr 17, 2024

hey, thanks for the quick reply. I just found the issue in my code. sry for bothering.

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

No branches or pull requests

2 participants