Open wpcarro opened 4 years ago
By default git-secrets doesn't detect anything. You have to specify regex patterns for git-secrets to look for.
This is done using the git secretes --add 'your regex pattern here'
command.
Along with #194 we might add a prepopulated list of patterns from services like this. Can you describe this sort of key with a regex? Perhaps sk_live_[a-zA-Z]{50,}
if 50 is the shortest valid length for the random part of such a key?
Stripe has API keys that look like:
After calling
git-secrets --install
and committing code that I thinkgit-secrets
should detect, I haven't been able to trigger a failed hook. Here are my hooks:Is this user error? Can anyone reproduce this?