-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
rsa-oaep decrypt the ciphertext (an empty string) got an unexpected string #57553
Labels
Comments
I've updated the PR with the requested changes. Please review when possible. #57558 |
can you check this PR #57572 |
Closed
panva
added a commit
to panva/node
that referenced
this issue
Mar 21, 2025
aduh95
pushed a commit
that referenced
this issue
Apr 1, 2025
closes #57553 closes #57572 closes #57558 PR-URL: #57575 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
JonasBa
pushed a commit
to JonasBa/node
that referenced
this issue
Apr 11, 2025
closes nodejs#57553 closes nodejs#57572 closes nodejs#57558 PR-URL: nodejs#57575 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Version
23.7.0
Platform
Subsystem
crypto
What steps will reproduce the bug?
the
crypto
.privateDecrypt
method sames changed the behavior since node23.7. I'm not sure that is a bug or feature. Reproduce codes as below:when run the code, such as
node test-crypto-private-decrypt.js
in node23.7.0. The terminal prompted the message:How often does it reproduce? Is there a required condition?
no extra conditions.
What is the expected behavior? Why is that the expected behavior?
the
privateDecrypt
behavior should be same as before>= 10 < 23.7
What do you see instead?
Assertion failed: rsa-oaep
encrypt
empty string is success, butdecrypt
got unexpected string.Additional information
The failed
CI
was here, message as below:The text was updated successfully, but these errors were encountered: