Skip to content

Commit 21eb024

Browse files
ci(gitleaks): allowlist test fixtures (BIP32 public vectors, not secrets)
The full-history gitleaks scan flagged 3 generic-api-key matches, all false positives in upstream 2017-2018 test fixtures: tests/wallet/test_bip32.py (standard BIP32 public test vectors) and tests/lib/test_addresses.py (a TokenPay test address constant). Allowlist tests/ paths. Verified locally: 1771 commits scanned, no leaks found, exit 0. Scan stays blocking on real (non-test) secrets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent c9fd254 commit 21eb024

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.gitleaks.toml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ paths = [
1818
'''(^|/)README\.md$''',
1919
'''(^|/)WEBSOCKET_VERIFICATION\.md$''',
2020
'''docs/.*\.(md|rst)$''',
21+
# Test fixtures are not real secrets: BIP32 public test vectors
22+
# (tests/wallet/test_bip32.py) + a TokenPay test address constant
23+
# (tests/lib/test_addresses.py), inherited from upstream 2017-2018 history.
24+
'''(^|/)tests/''',
2125
]
2226
regexes = [
2327
'''dockeruser''',

0 commit comments

Comments
 (0)