Hello again!
I've just updated my Windows 10 dev machine to Node 18.16.0 (current LTS) and sp-rest-proxy is throwing errors on all calls.
If I revert the Node version to v16.20.0 then the proxy starts working again with no code change.
My credential strategy is OnpremiseUserCredentials as I am using SP 2013 on-prem.
Error Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at Object.createNTLMHash (C:\...\node_modules\node-ntlm-client\lib\hash.js:77:22)
at Object.createType3Message (C:\...\node_modules\node-ntlm-client\lib\ntlm.js:213:23)
at C:\...\node_modules\node-sp-auth\lib\src\auth\resolvers\OnpremiseUserCredentials.js:41:35
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
Hello again!
I've just updated my Windows 10 dev machine to Node 18.16.0 (current LTS) and sp-rest-proxy is throwing errors on all calls.
If I revert the Node version to v16.20.0 then the proxy starts working again with no code change.
My credential strategy is OnpremiseUserCredentials as I am using SP 2013 on-prem.
Error Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10) at Object.createNTLMHash (C:\...\node_modules\node-ntlm-client\lib\hash.js:77:22) at Object.createType3Message (C:\...\node_modules\node-ntlm-client\lib\ntlm.js:213:23) at C:\...\node_modules\node-sp-auth\lib\src\auth\resolvers\OnpremiseUserCredentials.js:41:35 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'