-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support TLS 1.3 #923
Support TLS 1.3 #923
Conversation
Oh, I saw #833 after opening the PR. |
Please add a note to the changelog mentioning this change and I'm happy to get this merged |
Thank you @JoelSpeed for your review. Added a note to the changelog. BTW, I found an existing typo |
Go for it - Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Thank you @JoelSpeed and @NickMeves ! |
* Support TLS 1.3 * Set TLS 1.3 explicitly to fix gosec warning. * Add an entry to changelog. * Fix typo in the changelog. Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
Description
Set "tls.MaxVersion = tls.VersionTLS13" to use TLS 1.3 if possible.
Motivation and Context
Now the TLS version is hard-coded and it does not support TLS 1.3.
How Has This Been Tested?
Manually tested. I compiled and deployed in CentOS 7 and ran curl command.
Checklist: