Open
Description
Description
When I do pip freeze
, it prints out the username and password that I included while cloning the local modules \ repositories
Similar to : #4746
Expected behavior
Passwords should'nt be shown
pip version
21.1.1
Python version
3.8.10
OS
Centos7
How to Reproduce
- Clone a repository to local using username and password :
git clone -b my_branch https://$gusr:$gpwd@gitlab.com/my-repo.git
- Do a local install of the repo
cd my-repo
pip install -e .
- Do pip freeze
Output
prints out my user credentials
-e git+https://gusr:gpwd@gitlab.com/my-repo#egg=repo_name
Code of Conduct
- I agree to follow the PSF Code of Conduct.