Repository navigation
Fix: Python built with OpenSSL 4
Python built with OpenSSL 4, such as Homebrew's Python 3.14.10, has no ssl.PROTOCOL_TLSv1_2. Creating a DashConnection with a password login raised AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1_2', and so did the dashio_data_exporter command.
Both now use a TLS context with TLS 1.2 as the minimum (ssl.create_default_context()). It checks the Dash server's certificate and host name against the system's CAs, as before.
Full changes: 3.14.1...3.14.2