sha256convert: redact credentials from source URL in output and tags
main·
Commit

A source URL can embed credentials (https://user:token@host/...). Those were copied verbatim into the signed attestation tag message — which is permanent and gets pushed — as well as the "fetching ..." status line and the JSON/textual result.
Redact the whole userinfo component (not just the password: token auth often puts the secret in the username position, which url.URL.Redacted() leaves intact) before any of those surfaces. The fetch path keeps the original req.SourceURL, so authentication is unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: e8268fe0a082
Checkpoints
can you look at the comments on https://github.com/entireio/git-sync/pull/66 and address them?
Claude CodeOpus 4.8[1m]
View sessionCheckpoint 1