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

Support for TLS 1.2 only servers #94

Open
lilydjwg opened this issue Oct 13, 2019 · 0 comments
Open

Support for TLS 1.2 only servers #94

lilydjwg opened this issue Oct 13, 2019 · 0 comments

Comments

@lilydjwg
Copy link
Contributor

This line specifies to only use TLS 1.0:

ssl_version = ssl.PROTOCOL_TLSv1,

Which is old and people are dropping support for it. For whatever reasons, my Prosody on Debian buster has stopped supporting TLS 1.0 too and my bots are no longer able to connect to it.

Using ssl.PROTOCOL_TLS will have broader support but it requires Python >= 3.6. Using ssl.PROTOCOL_TLSv1_2 will support Python 3.4 but is not future-proof.

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

1 participant