Whenever I run the .sign() function in bitcore-lib on node v18.4.0 I get hit with the error:0308010C:digital envelope routines::unsupported error message. After doing some debugging I've found that it's related to the ripemd160 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?
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?