hub: gofmt -w on 22 files, formatting only, no behaviour change (R-1160)

This commit is contained in:
admin committed 2026-10-19 10:26:36 +02:00
1 parent db2371c6f5
commit d5e3c8b0d9
22 files changed
+81 -73

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ const (
// matcher: fingerprints/checksums are logged by design and are public.
var secretPatterns = []*regexp.Regexp{
regexp.MustCompile(`-----BEGIN [A-Z ]*PRIVATE KEY-----`),
regexp.MustCompile(`\bre_[A-Za-z0-9]{10,}`), // Resend API key shape
regexp.MustCompile(`\bre_[A-Za-z0-9]{10,}`), // Resend API key shape
regexp.MustCompile(`PVEAPIToken=[^\s"']+:\S+`), // Proxmox token WITH secret part
regexp.MustCompile(`(?i)\b(password|passwd|api_key|apikey|token_secret|client_secret)=[^\s"']{6,}`),
regexp.MustCompile(`Authorization:\s*Bearer\s+\S{16,}`),