-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
tls.DEFAULT_MIN_VERSION according to docs is v11 feature, but its present in v10.16.0 and is incorrect #28758
Comments
Possibly, this commit needs to be merged with 10x |
No, that's just a changelog entry. |
Seems like #26821 needs to be added to v10.x-staging (so it can go out in the next release). |
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 |
I would like to assist on this issue and starting to exploring it further. |
@ckarande do you need any direction/help? Check out https://github.com/nodejs/node/blob/master/doc/guides/backporting-to-release-lines.md. |
@mcollina Thanks for the link. I am all set to go ahead with it. |
@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
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. |
@ckarande The findings & the PR both looks good to me 👍 |
Thanks @nitinsurana . The build was successful with the latest fixes. @Trott , @sam-github, the fix so far adds missing documentation about |
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. |
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_VERSION
is available starting v11 and default value isTLSv1.2
Issue :
Ubuntu 14.04
with Nodejsv10.16.0
hastls.DEFAULT_MIN_VERSION
definedTLSv1
instead ofTLSv1.2
The text was updated successfully, but these errors were encountered: