index-url password is displayed on pip install.
See original GitHub issue- Pip version: 10.0.0
- Python version: 2.7.14
- Operating system: macOS
Description:
When index-url is set (with either --index-url
or --extra-index-url
) with user credentials, the password is displayed each time pip is used. This is clearly a security issue, before pip 10 this was displayed only in verbose mode. The password should always be masked.
What I’ve run:
pip install private-package
Issue Analytics
- State:
- Created 5 years ago
- Reactions:16
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Pip prompts for username + password despite extra index url ...
My username and password are just alphanumeric characters. I know that pip is able to access the private jFrog with the credentials since...
Read more >Authentication - pip documentation v22.3.1
This is done by providing the username (and optionally password) in the URL: ... pip install your-package --index-url https://pypi.company.com/.
Read more >Installing private Python packages · Gemfury Dev Center
Install packages via command-line ... We use --extra-index-url to allow pip to keep the original Index URL. This allows pip to implicitly install...
Read more >PyPI packages in the Package Registry - GitLab Docs
Install from the project level. To install the latest version of a package, use the following command: pip install --index-url ...
Read more >Installing Python requirements with an extra index url hangs ...
script: | pip install my_package pip install -r requirements.txt ... When we access the extra-index-url, we need to provide the username and password...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also happens if you have
index-url
set in~/.pip/pip.conf
.This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.