Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign uptls.DEFAULT_MIN_VERSION according to docs is v11 feature, but its present in v10.16.0 and is incorrect #28758
Comments
This comment has been minimized.
This comment has been minimized.
|
Possibly, this commit needs to be merged with 10x |
This comment has been minimized.
This comment has been minimized.
No, that's just a changelog entry. |
This comment has been minimized.
This comment has been minimized.
|
Seems like #26821 needs to be added to v10.x-staging (so it can go out in the next release). |
This comment has been minimized.
This comment has been minimized.
Value is correct, you are reading 12.x docs, the 11.x docs are slightly more relevant to 10.x: https://nodejs.org/docs/latest-v11.x/api/tls.html#tls_tls_default_min_version |
This comment has been minimized.
This comment has been minimized.
|
I would like to assist on this issue and starting to exploring it further. |
This comment has been minimized.
This comment has been minimized.
|
@ckarande do you need any direction/help? Check out https://github.com/nodejs/node/blob/master/doc/guides/backporting-to-release-lines.md. |
This comment has been minimized.
This comment has been minimized.
|
@mcollina Thanks for the link. I am all set to go ahead with it. |
This comment has been minimized.
This comment has been minimized.
|
@sam-github @nitinsurana @Trott I am comparing the changes in #26821 with what is applicable to v10.x. Can you please confirm these findings:
|
Add documentation for tls.DEFAULT_MAX_VERSION and tls.DEFAULT_MIN_VERSION, which existed in v10.6.0 Fixes: nodejs#28758 Refs: nodejs#26821
This comment has been minimized.
This comment has been minimized.
|
looks about right to me. #27946 is trying to add the CLI switches, but its blocked on a problem with a container build I haven't been able to replicate outside docker, or had the time to replicate inside docker. |
This comment has been minimized.
This comment has been minimized.
|
@ckarande The findings & the PR both looks good to me |
This comment has been minimized.
This comment has been minimized.
|
Thanks @nitinsurana . The build was successful with the latest fixes. @Trott , @sam-github, the fix so far adds missing documentation about |
This comment has been minimized.
This comment has been minimized.
No, leave those docs as they are. The features were added in 11.4.0, then backported to the v10 line. So 11.4.0 is correct for versions 11 and later. If we change it to 10.6.0, then someone running 11.3.0 will wonder why it doesn't exist in 11.3.0. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
https://nodejs.org/docs/latest-v10.x/api/tls.html#tls_tls_default_min_version docs are present and correct in 10.x line |
According to the docs
tls.DEFAULT_MIN_VERSIONis available starting v11 and default value isTLSv1.2Issue :
Ubuntu 14.04with Nodejsv10.16.0hastls.DEFAULT_MIN_VERSIONdefinedTLSv1instead ofTLSv1.2