Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35.2k
gh-118658: Return consistent types from get_un/verified_chain in SSLObject and SSLSocket#118669
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
dae06d1676f9b11418dd10cdfe194a51db26206f4f701c62a4c31619f9259375cb139d45a19dcd276aeb0d15ad005748583039cc7c690d4dc29d0fec1a55beb3aeb0610ab5f019bf5f1d962206c8c8fcb44166ade0a1dc6f2c6a185595d6eFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| You can now get the raw TLS certificate chains from TLS connections via | ||
| :meth:`ssl.SSLSocket.get_verified_chain` and | ||
| :meth:`ssl.SSLSocket.get_unverified_chain` methods. | ||
| Contributed by Mateusz Nowak. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add asserts that
eeandcaare both of typebytes. Otherwise the test would also pass without the changes in Lib/ssl.py.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proposed improvement applied.