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

Need adding support for RSA_OAEP_512 support in encryption #245

Open
Marks1 opened this issue May 2, 2024 · 1 comment
Open

Need adding support for RSA_OAEP_512 support in encryption #245

Marks1 opened this issue May 2, 2024 · 1 comment

Comments

@Marks1
Copy link

Marks1 commented May 2, 2024

HI there

when i use JWT.Encode() to encrypt payload, i set JweAlgorithm, but i can only set it to JweAlgorithm.RSA_OAEP_256, since RSA_OAEP_512 is more secure, do we have plan to support in the future?

thanks

@dvsekhvalnov
Copy link
Owner

dvsekhvalnov commented May 3, 2024

Hi @Marks1 , yeah can consider this.

It will require .net 4.6+ according to docs: https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.rsaencryptionpadding.oaepsha512

Any library you'd like to interop with? Need to find some for cross-validation anyway.

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