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

Do not require a password if using client-cert #336

Closed
j5awry opened this issue Apr 4, 2018 · 1 comment · Fixed by #483
Closed

Do not require a password if using client-cert #336

j5awry opened this issue Apr 4, 2018 · 1 comment · Fixed by #483
Labels

Comments

@j5awry
Copy link

j5awry commented Apr 4, 2018

When using a client cert for authentication, twine still requests a password. when using PyPi (worldwide or local) and cert based auth is used, a password is not required. With twine, this can be "tricked" by passing empty string

this works fine:

twine upload -u jchittum -p "" --cert /Users/me/.certs/customca.pem --client-cert /Users/me/.certs/mycombinedpem.pem --repository-url https://pypi.mycompany.com/ dist/*

Haven't tried using a client cert with public PyPi (I don't maintain anything there).

@di di added the bug label Jul 23, 2019
@engsoonats
Copy link
Contributor

Am looking at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants