Files
JakeHillion bfc6a72a0a
commit-validation / validate-single-commit (pull_request) Successful in 15s
buildbot/nix-eval Build done. (787 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
buildbot-nix: keep the Gitea token out of the journal
buildbot-nix clones Gitea repositories over HTTPS with the API token in
the URL, and both the master and the worker log each git command with
the token filled in. Every fetch wrote the token to iceman's journal in
plain text, and from there to the fleet's log store.

journald now drops any line from either unit that contains a URL with
credentials, using LogFilterPatterns, so the token is never stored.
Only those log lines are lost; the builds themselves are unchanged. The
leaked token is replaced with a new one.

Test plan:
- Built iceman; both units carry the filter
- A VM test with a system service using the same pattern: the line
  carrying a token was dropped and the line after it kept
2026-11-30 22:56:27 +00:00
..