You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the basics of this NPM plugin gives this error message. It doesn't allow the code to run fully, so the plugin is quite useless for me as it stands now.
I found the createSecurePair in starttls.js, line 7, but no idea how to fix this...
I am not actively working on this library anymore, so don't expect em to have a fix for this any time soon. Happy to accept PRs that fix this issue though!
I am not actively working on this library anymore, so don't expect em to have a fix for this any time soon. Happy to accept PRs that fix this issue though!
Hi @wvanbergen This is the fix for this issue: #67
Thanks, Kevin.
Running the basics of this NPM plugin gives this error message. It doesn't allow the code to run fully, so the plugin is quite useless for me as it stands now.
I found the createSecurePair in starttls.js, line 7, but no idea how to fix this...
pair = require('tls').createSecurePair(sslcontext, false);
Also found this, which seems to describe the problem and a solution:
https://nodejs.org/dist/latest-v6.x/docs/api/tls.html#tls_class_securepair
which says:
can be replaced by:
The text was updated successfully, but these errors were encountered: