Plaintext credential is exposed in CommandError if Authorization is passed in http.extraHeader · Issue #1626 · gitpython-developers/GitPython
Repository navigation
Plaintext credential is exposed in CommandError if Authorization is passed in http.extraHeader #1626
New issue
New issue
Closed
Bug #2188
Closed
Plaintext credential is exposed in CommandError if Authorization is passed in http.extraHeader #1626 Bug #2188 Labels
acknowledged
critical
help wanted
Description
@el-bri-ga's profile el-bri-ga opened on Aug 3, 2023If credentials are passed in the URI, e.g. https://user:pass@foo.com/bar.git then the credential is properly removed from the cmdline in the exception, but if an authorization header is set via http.extraHeader then the credential is not stripped from the exception.
Metadata
Metadata
Assignees
No one assignedLabels
acknowledged
critical
help wanted