mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
Merge pull request #47 from Shawn-Smith/Stopwords-lowercase
Make stopwords lowercase
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -46,8 +46,7 @@ func init() {
|
||||
base64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
||||
hexChars = "1234567890abcdefABCDEF"
|
||||
|
||||
stopWords = []string{"setting", "Setting", "SETTING", "info",
|
||||
"Info", "INFO", "env", "Env", "ENV", "environment", "Environment", "ENVIRONMENT"}
|
||||
stopWords = []string{"setting", "info", "env", "environment"}
|
||||
|
||||
regexes = map[string]*regexp.Regexp{
|
||||
"PKCS8": regexp.MustCompile("-----BEGIN PRIVATE KEY-----"),
|
||||
|
||||
Reference in new issue
Block a user