-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-34271: Add ssl debugging helpers (GH-10031) #10031
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
Conversation
I made a first test setting the env variable |
The
I decided against expanding |
I wrote some basic examples showing this works very well. Thanks to https://github.com/jmfrank63/ssl-examples/commits?author=nikosgraser for providing the requests example. |
e938b5b
to
3f17e9f
Compare
@zooba Could you please do me a favor and try the patch on Windows? One of the test cases is failing on Windows and I don't understand why.
|
ea3fd14
to
8bbb6df
Compare
@zooba One Windows test case was failing because |
The ssl module now can dump key material to a keylog file and trace TLS protocol messages with a tracing callback. The default and stdlib contexts also support SSLKEYLOGFILE env var.
The msg_callback and related enums are now private members. The feature is designed for internal debugging and not for end users. Signed-off-by: Christian Heimes <[email protected]>
The ssl module now can dump key material to a keylog file and trace TLS protocol messages with a tracing callback. The default and stdlib contexts also support SSLKEYLOGFILE env var. The msg_callback and related enums are private members. The feature is designed for internal debugging and not for end users. Signed-off-by: Christian Heimes <[email protected]>
The ssl module now can dump key material to a keylog file and trace TLS
protocol messages with a tracing callback. The default and stdlib
contexts also support SSLKEYLOGFILE env var.
https://bugs.python.org/issue34271