This repository has been archived by the owner on Feb 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 298
Python >=3.4 TLS refactoring does not use self.certfile and self.keyfile, breaks mutual TLS #460
Comments
i seem to be encountering the same issue |
@woz5999 Does this work for you? WFM — If it does I will do a PR.
|
i'm out of the office for a few days. I'll try next week and let you know. |
We're using this package as part of a docker image and were able to work around the issue by reverting to the previous version. Given that we have a functional workaround, it's not really worth the time and effort it would take to implement the instrumentation to test this change. Sorry I couldn't be more helpful. |
Have you tested 1.3.2? |
@aalba6675 @woz5999: Any news? Have you tested with "master"? It works? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With refactoring of TLS code for Python >=3.4 we don't load certfile and keyfile anymore
in xmlstream/xmlstream.py: XMLStream._create_secure_socket : in code path for python >=3.4 are we mssing ctx.load_cert_chain() somewhere? I don't see where we use self.certfile and self.keyfile in the >=3.4 code path.
I could not find the use of SSLContext.load_cert_chain() anywhere.
This breaks mutual TLS.
The text was updated successfully, but these errors were encountered: