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

Tls1.2 support #535

Open
sourabhyadavgit opened this issue Jul 3, 2020 · 3 comments
Open

Tls1.2 support #535

sourabhyadavgit opened this issue Jul 3, 2020 · 3 comments

Comments

@sourabhyadavgit
Copy link

Does this supports tls1.2?
When trying updating with ssl_protocol to ssl.protocol_TLSv1_2 its failing to connect with clients with tls1.2.
When set back to 1.0 works fine with clients.

@giampaolo
Copy link
Owner

giampaolo commented Jul 3, 2020 via email

@sourabhyadavgit
Copy link
Author

Thanks a lot giampolo 👍 it worked
One more thing I was thinking of amending was listing our ciphers server supports but couldn't get which socket to use for this from class.
If I get the socket or function details I can give a try to update it to decrypt client certificates to match host name or any other fields. Apols if it's easy but I'm relatively new to python.

@philpep
Copy link

philpep commented Aug 19, 2022

Hi, I dig into an issue where files uploaded to pyftpdlib with lftp 4.8.4 / GnuTLS 3.7.1 (debian stable) where truncated above a certain size. I guess lftp/gnutls doesn't handle correctly SSLv23_METHOD

Using TLSv1_2_METHOD fixed the issue. Maybe this should become the default ? I'm not an TLS/SSL expert but it seems to me that TLSv1.2 should always be preferred now.

@asantoni asantoni mentioned this issue May 9, 2023
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

No branches or pull requests

3 participants