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

crypto-js PBKDF2 vulnerability #599

Closed
returnSky opened this issue Nov 22, 2023 · 2 comments
Closed

crypto-js PBKDF2 vulnerability #599

returnSky opened this issue Nov 22, 2023 · 2 comments

Comments

@returnSky
Copy link

Hi,

crypto-js fixed a vulnerability related to PBKDF2 recently.
Does this vulnerability also affect jsrsasign?
If any impact, when will your start to fix it?

Thanks.

References:

@kjur
Copy link
Owner

kjur commented Nov 23, 2023

Yes, it seems to affect to jsrsasign. When you generate encrypted PKCS#8 private key, it uses PBKDF2. I'll update it and fix the issue.

@kjur
Copy link
Owner

kjur commented Nov 27, 2023

I've released 10.9.0 today.
https://github.com/kjur/jsrsasign/releases/tag/10.9.0
Regarding to encrypted PKCS#8 private key generation, default encryptionScheme have been updated from des-EDE3-CBC to aes256-CBC and default prf have been updated from hmacWithSHA1 to hmacWithSHA256. Also you can set iteration count.

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