You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After calling git-secrets --install and committing code that I think git-secretsshould detect, I haven't been able to trigger a failed hook. Here are my hooks:
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?
The text was updated successfully, but these errors were encountered: