-
Notifications
You must be signed in to change notification settings - Fork 30.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
crypto: frozen on RSA key generation with public exponent 3 #29433
Labels
Comments
For me (on Linux) node immediately segfaults when generating the key pair:
EDIT: Same crash happens through node v11.15.0. node v12.0.0 was the first release where it didn't crash. |
mscdex
added
confirmed-bug
Issues with confirmed bugs.
crypto
Issues and PRs related to the crypto subsystem.
v10.x
labels
Sep 4, 2019
After bisecting it seems at least the segfault I was experiencing was fixed in 0911e88. |
BethGriggs
pushed a commit
that referenced
this issue
Oct 18, 2019
EVP_PKEY_CTX_set_rsa_keygen_pubexp() accepts ownership of the exponent on success, so do not free it. Fixes: #27087 Fixes: #29433 PR-URL: #27092 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
This bug was fixed in node 12 and 10.17.0. The v11 line is affected, but EOL. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NodeJS is frozen on RSA key generation with public exponent 3. It works fine in NodeJS v12
The text was updated successfully, but these errors were encountered: