Skip to content

Hide the credentials git prints without a scheme - #272

Merged
lyrixx merged 1 commit into
mainfrom
redact-credentials-without-scheme
Nov 9, 2026
Merged

lyrixx merged 1 commit into
mainfrom
redact-credentials-without-scheme

Conversation

@lyrixx

@lyrixx lyrixx commented Nov 9, 2026

Copy link
Copy Markdown
Member

git prints user:token@host, without the scheme, when it can't resolve a git:// URL, so redact() missed it. A token alone stays visible: nothing tells it from the git@host of ssh errors.

git prints "user:token@host", without the scheme, when it can't resolve
the host of a git:// URL: redact() missed it. A token alone stays visible,
as nothing tells it from the "git@host" of the errors of ssh.
@lyrixx
lyrixx merged commit a2ebf53 into main Nov 9, 2026
11 checks passed
@lyrixx
lyrixx deleted the redact-credentials-without-scheme branch November 9, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant