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 ed25519 and OKP key type #261

Open
TheButlah opened this issue Feb 8, 2025 · 1 comment
Open

support ed25519 and OKP key type #261

TheButlah opened this issue Feb 8, 2025 · 1 comment

Comments

@TheButlah
Copy link

TheButlah commented Feb 8, 2025

https://datatracker.ietf.org/doc/html/rfc8037

Even if support for the actual cryptography is deemed out of scope or too hard for now, it would be good to add the serialization support to JWK.

@TheButlah TheButlah changed the title support ed25519 support ed25519 and OKP key type Feb 8, 2025
@dvsekhvalnov
Copy link
Owner

Hi @TheButlah ,

  1. i doubt CFRG ECDH supported in .net runtimes at all, here is open issue Proposal: Add Ed25519 and Curve25519 Algorithms to System.Security.Cryptography dotnet/runtime#14741

Which leaves us with options to implement/port ourselves or reply on 3rd party library (if any). Honestly i don't like both options given and fixed different kinds of attacks on jose/jwt libs. Would really like support from runtime much more.

  1. what did you mean by JWK support? Add new KeyType.OKP? Real bridging between JWK and native crypto is possible once we know what type of key object for actual crypto is used.

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

No branches or pull requests

2 participants