Skip to content

Support for TLS 1.2 only servers #94

@lilydjwg

Description

@lilydjwg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions