Skip to content

Commit ed7109c

Browse files
feat(gitleaks): add .gitleaksignore for false positive fingerprints
Add .gitleaksignore file containing fingerprints of known false positives (age public keys in documentation and scripts). This follows gitleaks community best practices for CI environments. Key advantages over baseline files: - Safe to commit (only fingerprints, no secrets) - Stable (no --redact flag matching issues) - Platform-agnostic (no path separator issues) - Simple (one fingerprint per line with comments) All 6 findings are age public keys used as: - Documentation examples in CI/CD setup guides - Placeholder values for sops key rotation detection - Example keys in bootstrap scripts Reference: gitleaks/gitleaks#1263
1 parent 0d448af commit ed7109c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.gitleaksignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# .gitleaksignore - Fingerprints of false positives safe to ignore
2+
# Format: <commit>:<file>:<rule>:<line>
3+
# These are age public keys used in documentation and scripts (safe to commit)
4+
5+
# Age public key in CI/CD setup documentation (commit 3e1d314b)
6+
3e1d314b2feafeba8c46da73257557caca7bd1dc:packages/docs/src/content/docs/guides/ci-cd-setup.md:generic-api-key:54
7+
8+
# Age public key placeholders in sops-bootstrap.sh (commit 5c662602)
9+
5c662602e6d280c86c2e12321aa91b6c7db2d3aa:scripts/sops-bootstrap.sh:generic-api-key:21
10+
5c662602e6d280c86c2e12321aa91b6c7db2d3aa:scripts/sops-bootstrap.sh:generic-api-key:22
11+
12+
# Age public key placeholders in justfile sops-add-key recipe (commit e8c56a3a)
13+
e8c56a3ace8525d2c0960563f172c3c300eb044c:justfile:generic-api-key:424
14+
e8c56a3ace8525d2c0960563f172c3c300eb044c:justfile:generic-api-key:425
15+
16+
# Age public key in old CI_SETUP.md documentation (commit 7b972f52, file later moved)
17+
7b972f52937be8b6ab36c804e6e8316cd2e7f3a3:CI_SETUP.md:generic-api-key:51

0 commit comments

Comments
 (0)