Skip to content

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

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-f0f5930-3.7
Jul 1, 2019
Merged

[3.7] bpo-37428: Don't set PHA verify flag on client side (GH-14421)#14493
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-f0f5930-3.7

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jul 1, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
ContributorAuthor

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

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

Copy link
Copy Markdown
ContributorAuthor

@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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bugAn unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@tiran@the-knights-who-say-ni@bedevere-bot