-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Signing error: digital envelope routines #3538
Comments
Merged
I have not encountered any issues when running bitcore-lib with Node v18.13 LTS with the sign method or with ripemd160 hashing. How are you using it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever I run the
.sign()
function inbitcore-lib
on nodev18.4.0
I get hit with theerror:0308010C:digital envelope routines::unsupported
error message. After doing some debugging I've found that it's related to theripemd160
function in hash.js and that it's now deprecated in Node 18.The only way to fix it so far is running the application with
export SET NODE_OPTIONS=--openssl-legacy-provider && npm run start
but that's really not ideal. Is there any permanent solution in the works?The text was updated successfully, but these errors were encountered: