Skip to content

[3.7] bpo-37428: Don't set PHA verify flag on client side (GH-14421) #14493

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

Merged
merged 1 commit into from
Jul 1, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 1, 2019

SSLContext.post_handshake_auth = True no longer sets
SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the
option is documented as ignored for clients, OpenSSL implicitly enables cert
chain validation when the flag is set.

Signed-off-by: Christian Heimes christian@python.org

https://bugs.python.org/issue37428
(cherry picked from commit f0f5930)

Co-authored-by: Christian Heimes christian@python.org

https://bugs.python.org/issue37428

SSLContext.post_handshake_auth = True no longer sets
SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the
option is documented as ignored for clients, OpenSSL implicitly enables cert
chain validation when the flag is set.

Signed-off-by: Christian Heimes <christian@python.org>

https://bugs.python.org/issue37428
(cherry picked from commit f0f5930)

Co-authored-by: Christian Heimes <christian@python.org>
@miss-islington
Copy link
Contributor Author

@tiran: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit cf76174 into python:3.7 Jul 1, 2019
@miss-islington miss-islington deleted the backport-f0f5930-3.7 branch July 1, 2019 06:51
@miss-islington
Copy link
Contributor Author

@tiran: Status check is done, and it's a success ✅ .

ned-deily pushed a commit to ned-deily/cpython that referenced this pull request Jul 2, 2019
…4421) (pythonGH-14493)

SSLContext.post_handshake_auth = True no longer sets
SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the
option is documented as ignored for clients, OpenSSL implicitly enables cert
chain validation when the flag is set.

Signed-off-by: Christian Heimes <christian@python.org>



https://bugs.python.org/issue37428
(cherry picked from commit f0f5930)


Co-authored-by: Christian Heimes <christian@python.org>


https://bugs.python.org/issue37428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants