Skip to content

Commit 5b69809

Browse files
chore(ci): ignore test-fixture encryption keys in gitleaks history scan
1 parent d802d6e commit 5b69809

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.gitleaksignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Test fixtures, not real secrets: TYPO3 SYS.encryptionKey values used only in unit tests.
2+
# Migrating ConfigurationTest to ttt's #[WithTypo3ConfVars] turned the previous
3+
# $GLOBALS[...]['encryptionKey'] = '...' assignment into an array-arrow literal, which trips
4+
# gitleaks' generic-api-key rule where the bracket assignment did not. The literals are the
5+
# obviously-fake string "test-encryption-key-12345"; the HEAD occurrences also carry an inline
6+
# `gitleaks:allow`, these fingerprints cover the same lines in the historical integration commit.
7+
f9381041121ecaefabe744efa9b3014d2446277b:Tests/Unit/ConfigurationTest.php:generic-api-key:56
8+
f9381041121ecaefabe744efa9b3014d2446277b:Tests/Unit/ConfigurationTest.php:generic-api-key:70

0 commit comments

Comments
 (0)