-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Issue #3483 Add cert retrieval for requests #5320
Issue #3483 Add cert retrieval for requests #5320
Conversation
Thank you for this! |
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.
Just some minor type hints quirks. Otherwise looks fine.
The authenticator.py code already retrieves credentials from the config for every request based on url matching. This change makes the authenticator also retrieve certs from the config for each request based on url matching. Also includes unit tests. - Fixed style issues with black - Fixed broken unit test - Fixed broken unit test for windows - Fixing path issue in unit tests for windows - Fixed cert handling for pathlib paths - Style change to make the linter happy - Rebased and fixed type hint - Fixed a style issue - Applied updates from code review - more revisions based on code review feedback - Some revisions based on code review - Applied code review suggestions and fixed unit tests - Fixed broken code from rebase - Applied fix for linting issue and improved test coverage - Fixed issues with linting and type-checking
@radoering - your requested changes have been made. When you get a chance, would you please take another look at this. Thanks! |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The authenticator.py code already retrieves credentials from the config for every request based on url matching.
This change makes the authenticator also retrieve certs from the config for each request based on url matching.
Also includes unit tests.
supersedes #3490 by rebasing to current master.
If accepted, I can also backport it to the 1.1 branch to ship this feature sooner than the 1.2 release as its a blocker for some users of private repositories.
Pull Request Check List
Resolves #3483