Skip to content
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

Update tls.lua: SSLv23_method() → TLS_method() #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update tls.lua: SSLv23_method() → TLS_method() #9

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 31, 2020

TLS_method() is the general-purpose version-flexible SSL/TLS methods. The actual protocol version used will be negotiated to the highest version mutually supported by the client and the server. The supported protocols are SSLv3, TLSv1, TLSv1.1, TLSv1.2 and TLSv1.3. Applications should use these methods, and avoid the version-specific methods, which are deprecated.

https://www.openssl.org/docs/manmaster/man3/SSL_CTX_new.html

TLS_method() is the general-purpose version-flexible SSL/TLS methods. The actual protocol version used will be negotiated to the highest version mutually supported by the client and the server. The supported protocols are SSLv3, TLSv1, TLSv1.1, TLSv1.2 and TLSv1.3. Applications should use these methods, and avoid the version-specific methods, which are deprecated.

https://www.openssl.org/docs/manmaster/man3/SSL_CTX_new.html
@Zash
Copy link
Contributor

Zash commented Apr 16, 2021

Your description does not match what the patch does. There's no protocol="tls", that value doesn't directly correspond to the C API method. LuaSec (current version) instead maps "any" to TLS_method(), so if a change is needed, that's what it should be changed to. But it's backwards-compatible so I don't believe anything needs to change.

What is your goal with this change?

@ghost
Copy link
Author

ghost commented May 3, 2021

This tool does not support TLSv1.3. Anyway, it would be good to add support for TLSv1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant