We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
current
all
crypto
crypto.sign('sha512', '', crypto.generateKeyPairSync('rsa', { modulusLength: 512 }).privateKey)
One of the internal OpenSSL calls must fail, in this case, due to incompatible digest and modulus length.
A useful error message.
Uncaught Error: Deriving bits failed at Object.signOneShot [as sign] (node:internal/crypto/sig:181:42)
No response
The text was updated successfully, but these errors were encountered:
crypto: throw errors in SignTraits::DeriveBits
0ef6a0b
Fixes: nodejs#40794
d049a52
Fixes: #40794 PR-URL: #40796 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
2979c58
90ce19d
e60841b
Successfully merging a pull request may close this issue.
Version
current
Platform
all
Subsystem
crypto
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
One of the internal OpenSSL calls must fail, in this case, due to incompatible digest and modulus length.
What is the expected behavior?
A useful error message.
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: