Skip to content

Support For TLS Certificate Mutual Authentication #297

@j5awry

Description

@j5awry
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linekind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions