Skip to content
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

Send client certificate when using --trusted-host #7289

Merged
merged 3 commits into from
Nov 4, 2019

Conversation

chrahunt
Copy link
Member

@chrahunt chrahunt commented Nov 3, 2019

Previously when using InsecureHTTPAdapter we were not properly propagating the cert info to our connection object, now we do.

In order to test this, we also now have some helper functions for bringing up an HTTP(S) server (based on werkzeug) and managing certificates (with cryptography). This should help us progress on #259.

Fixes #7207.

@chrahunt chrahunt force-pushed the bugfix/send-client-cert branch 4 times, most recently from cf7e85c to e037c94 Compare November 3, 2019 19:10
@chrahunt chrahunt marked this pull request as ready for review November 3, 2019 19:56
Copy link
Member

@xavfernandez xavfernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice work 👍 👏

@chrahunt chrahunt force-pushed the bugfix/send-client-cert branch from e037c94 to 3125c32 Compare November 3, 2019 22:06
@chrahunt
Copy link
Member Author

chrahunt commented Nov 4, 2019

Thanks. :) I'll probably clean a few things up in a follow-up, I just need to find more issues we can use these helpers for.

@chrahunt chrahunt merged commit 5b77910 into pypa:master Nov 4, 2019
@chrahunt chrahunt deleted the bugfix/send-client-cert branch November 4, 2019 00:30
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Dec 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pip 19.3 doesn't send client certificate
2 participants