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

Can't handle optional PBKDF2-params's keyLength #618

Open
emmansun opened this issue Apr 7, 2024 · 0 comments
Open

Can't handle optional PBKDF2-params's keyLength #618

emmansun opened this issue Apr 7, 2024 · 0 comments

Comments

@emmansun
Copy link

emmansun commented Apr 7, 2024

When i tried to call KEYUTIL.getKeyFromEncryptedPKCS8PEM, it's failed due to there are keyLength in the PBKDF2-params. Per check the implementation, found the code get prf from position 2 directly:

var prf = aryval(pASNKDF, "2.seq.0.oid", "hmacWithSHA1");

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

1 participant