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

Support For TLS Certificate Mutual Authentication #297

Closed
1 task done
j5awry opened this issue Jul 10, 2018 · 3 comments
Closed
1 task done

Support For TLS Certificate Mutual Authentication #297

j5awry opened this issue Jul 10, 2018 · 3 comments
Labels
area/cli Related to the command line kind/feature Feature requests/implementations

Comments

@j5awry
Copy link

j5awry commented Jul 10, 2018

  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

For publishing, Pip and Twine allow for TLS Certificate mutual authentication instead of basic auth. In our enterprise environment, basic auth is disallowed, and only various forms of multi-factor are allowed. Please consider having more methods of authentication beyond basic auth, including mutual auth. Example Twine command

twine upload -u myuser -p "" --cert /Users/user/.certs/myca.pem --client-cert /Users/user/mycert.pem --repository-url https:/internalpypi.com/api/pypi/pypi-internal dist/*

Note the weird empty password, which is a bug in twine.

@sdispater sdispater added enhancement area/cli Related to the command line labels Oct 25, 2018
@brycedrennan brycedrennan added kind/feature Feature requests/implementations and removed enhancement labels Aug 9, 2019
@Caligatio
Copy link
Contributor

I'm forgetting if GitHub emails people on cross ticket mentions but I have a PR, #1325, that addresses this request. The developers said in Discord that they're ranking PRs by number of votes so please +1 the PR :)

@sdispater
Copy link
Member

This is now supported in the latest 1.0.0 release (see https://python-poetry.org/docs/repositories/#custom-certificate-authority-and-mutual-tls-authentication).

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/cli Related to the command line kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

4 participants