wvanbergen / node-vertica

Pure javascript Vertica database client. Except it is written in CoffeeScript.
MIT License
44 stars 30 forks source link

Supporting TLSSocket for Node 12.x or higher #67

Open kefon94 opened 3 years ago

kefon94 commented 3 years ago

Supporting TLSSocket for Node 12.x or higher

Issue

fix https://github.com/wvanbergen/node-vertica/issues/64 createSecurePair is not longer supported on Node version 12.x or higher. The issue was difficult to find because of there isn't an error / exception thrown by this code.

Solution

hulmgulm commented 3 years ago

Which issue do you want to solve with this change? We're using this library with Node 14 and TLS works fine.

hulmgulm-at-work commented 3 years ago

Which issue do you want to solve with this change? We're using this library with Node 14 and TLS works fine.

Ok, digging deeper into it I understand now. Secure Pair is long deprecated in NodeJS and should be replaced by TLSSocket.

kefon94 commented 3 years ago

Which issue do you want to solve with this change? We're using this library with Node 14 and TLS works fine.

Ok, digging deeper into it I understand now. Secure Pair is long deprecated in NodeJS and should be replaced by TLSSocket.

Hi @hulmgulm-at-work , I have added a better description of the issue, any other comment or suggest please let me know. Thanks.