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

CoreJsonWebKey::new_ec() and CoreJsonWebKey::new_okp() require private type as argument #182

Closed
avtrujillo opened this issue Aug 16, 2024 · 1 comment

Comments

@avtrujillo
Copy link

Both of these require you to pass in a CoreJsonCurveType, which is private. It is declared as public within the crate::core::jwk module, but is not re-exported by crate::core. I assume this is unintentional, since new_ec() and new_okp() are both public.

@ramosbugs
Copy link
Owner

This indeed looks like an oversight!

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