{{ message }}
bpo-34271: Add ssl debugging helpers (GH-10031) - #10031
Merged
Merged
Conversation
Member
Author
|
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. |
tiran
force-pushed
the
bpo-34271-ssldebug
branch
3 times, most recently
from
May 29, 2019 09:42
e938b5b to
3f17e9f
Compare
Member
Author
|
@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. |
tiran
force-pushed
the
bpo-34271-ssldebug
branch
4 times, most recently
from
May 30, 2019 12:50
ea3fd14 to
8bbb6df
Compare
Member
Author
reaperhulk
reviewed
May 30, 2019
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 <christian@python.org>
DinoV
pushed a commit
to DinoV/cpython
that referenced
this pull request
Jan 14, 2020
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 <christian@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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