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 a fix for CVE-2023-46809 #305

Open
cjbathras opened this issue Feb 20, 2024 · 3 comments
Open

Need a fix for CVE-2023-46809 #305

cjbathras opened this issue Feb 20, 2024 · 3 comments

Comments

@cjbathras
Copy link

When upgrading to Node 20, I can no longer use jsencrypt because it uses PKCS1 padding. Node is preventing using PKCS1 padding because of CVE-2023-46809. It would be great if the padding method was changed or if there was an option to use a different padding scheme. If there's a way to get around this that I haven't uncovered, I'd love to hear about it.

@tomato42
Copy link

use OAEP padding?

@cjbathras
Copy link
Author

How do I use OAEP padding with jsencrypt? I haven't found anything about that. If you can point me to an example that would be great!

@fengmk2
Copy link

fengmk2 commented May 16, 2024

#84

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

3 participants