Skip to content

Replace removed ssl.PROTOCOL_TLSv1* with PROTOCOL_TLS_SERVER - #744

Open
vpashaiev wants to merge 1 commit into
OpenKMIP:masterfrom
vpashaiev:fix-ssl-protocol-tlsv1
Open

vpashaiev wants to merge 1 commit into
OpenKMIP:masterfrom
vpashaiev:fix-ssl-protocol-tlsv1

Conversation

@vpashaiev

Copy link
Copy Markdown

Replace ssl.PROTOCOL_TLSv1 and ssl.PROTOCOL_TLSv1_2 in kmip/services/auth.py with ssl.PROTOCOL_TLS_SERVER, and update the unit tests (test_auth.py, test_client.py).

OpenSSL 4 / Python 3.14+ builds without legacy TLSv1 methods no longer expose ssl.PROTOCOL_TLSv1 and ssl.PROTOCOL_TLSv1_2, causing AttributeError in BasicAuthenticationSuite, TLS12AuthenticationSuite, and 14 unit tests.

Related: #719

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