Skip to content
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

Error: error:0308010C:digital envelope routines::unsupported for Node.js above 16.19.1 from sp-request #24

Open
bamustafa opened this issue May 24, 2023 · 0 comments

Comments

@bamustafa
Copy link

we are using sp-request 3.0.0 to authentication (basic authentication) to SharePoint on premise 2022 and it is working pretty fine with us.
once we upgrade node.js to V 17.0.0 or higher we are getting the below message:

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:130:10)
at Object.createNTLMHash (C:\Users\bamustafa\Desktop\download-packager\backend\node_modules\node-ntlm-client\lib\hash.js:77:22)
at Object.createType3Message (C:\Users\bamustafa\Desktop\download-packager\backend\node_modules\node-ntlm-client\lib\ntlm.js:213:23)
at C:\Users\bamustafa\Desktop\download-packager\backend\node_modules\node-sp-auth\lib\src\auth\resolvers\OnpremiseUserCredentials.js:41:35
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

any advise if there will be any compatible version in the coming period of time ?

Many Thanks for your feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant