mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-04 01:18:16 +00:00
31 lines
1.3 KiB
TOML
31 lines
1.3 KiB
TOML
# Gitleaks config — extends the default ruleset.
|
|
#
|
|
# Every entry below is an exact, anchored non-secret value. The analytics
|
|
# destination is a public Supermetry site id (config/analytics.json), not a
|
|
# credential. Dashboard/API keys (`pnl_`) and PostHog keys stay banned
|
|
# (tests/test_no_committed_analytics_token.py).
|
|
#
|
|
# Retired PostHog project tokens stay in git history, so the weekly
|
|
# full-history scan flags them. Add those findings' fingerprints to
|
|
# .gitleaksignore rather than keeping the retired value here.
|
|
|
|
[extend]
|
|
useDefault = true
|
|
|
|
[allowlist]
|
|
description = "Exact public/test literals misclassified as generic API keys"
|
|
regexes = [
|
|
# Reviewed immutable Hugging Face commit for the Higgs tokenizer.
|
|
'''^528e871c2a26c4f0f7773b9754e2e1acae20899d$''',
|
|
# Deliberately synthetic fixtures that exercise HF-token redaction/storage.
|
|
'''^hf_abcdefghijklmnopqrstuvwxyz01234567890abcd$''',
|
|
'''^hf_abcdefghijklmnopqrstuvwxyz0123456789ABCDEF$''',
|
|
'''^hf_QWERTYUIOPasdfghjklZXCVBNM0123456789xyzAB$''',
|
|
# NLLB generation length argument, not the value of a credential.
|
|
'''^max_length=400$''',
|
|
# Dubbing pane split-position localStorage key, not a credential.
|
|
'''^omnivoice\.dubSplit\.v1$''',
|
|
# cryptography's Ed25519 private-key type name, not key material.
|
|
'''^Ed25519PrivateKey$''',
|
|
]
|