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

Fix secure connections with new openssl #69

Merged
merged 1 commit into from
May 4, 2023
Merged

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented May 4, 2023

"DEFAULT:!aNULL:!eNULL:!MD5:!3DES:!DES:!RC4:!IDEA:!SEED:!aDSS:!SRP:!PSK"
)
# ssl.OP_LEGACY_SERVER_CONNECT is only available in Python 3.12a4+
ssl_context.options |= getattr(ssl, "OP_LEGACY_SERVER_CONNECT", 0x4)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are stuck with a getattr here since python/cpython#89051 the choice was made not to backport the new constant

@bdraco bdraco marked this pull request as ready for review May 4, 2023 18:48
@gwww gwww merged commit 1f31865 into gwww:main May 4, 2023
@gwww
Copy link
Owner

gwww commented May 4, 2023

I’m not near my computer until tonight. I’ll publish a new version of the lib then.

@gwww
Copy link
Owner

gwww commented May 4, 2023

I just published 2.2.2 of the elkm1_lib.

@bdraco
Copy link
Contributor Author

bdraco commented May 5, 2023

thank you

will get HA bumped

@bdraco bdraco deleted the new_openssl branch May 5, 2023 00:57
bdraco added a commit to bdraco/roombapy that referenced this pull request May 5, 2023
pschmitt pushed a commit to pschmitt/roombapy that referenced this pull request May 5, 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

Successfully merging this pull request may close these issues.

2 participants