You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The help text for at least the install and wheel subcommands (likely others too) display the full configured index URL as a default, without redacting credentials:
Package Index Options:
-i, --index-url <url> Base URL of the Python Package Index (default https://us
er:SuperSecret@mypypi.example.com/api/pypi/simple). This
should point to a repository compliant with PEP 503 (the
simple repository API) or a local directory laid out in
the same format.
The URL is coming from pip.ini in C:\Users\cdunklau\AppData\Roaming\pip\pip.ini:
Pip should redact the password, as it does in log entries involving a custom index URL, e.g.:
Package Index Options:
-i, --index-url <url> Base URL of the Python Package Index (default https://us
er:****@mypypi.example.com/api/pypi/simple). This
should point to a repository compliant with PEP 503 (the
simple repository API) or a local directory laid out in
the same format.
How to Reproduce
Configure a custom index-url in pip.ini with credentials, as above
Run pip install --help
Observe the password is not redacted in the help text
The text was updated successfully, but these errors were encountered:
Environment
Description
The help text for at least the
install
andwheel
subcommands (likely others too) display the full configured index URL as a default, without redacting credentials:The URL is coming from pip.ini in
C:\Users\cdunklau\AppData\Roaming\pip\pip.ini
:Expected behavior
Pip should redact the password, as it does in log entries involving a custom index URL, e.g.:
How to Reproduce
pip install --help
The text was updated successfully, but these errors were encountered: