Merge pull request #296 from petegallagher/private-key

Update asymmetric private key regex
This commit is contained in:
Zachary Rice authored and GitHub committed 2019-11-30 09:41:35 -06:00
commit ac6bde9996
1 file changed
+3 -3
+3 -3
View File
@@ -62,9 +62,9 @@ title = "gitleaks config"
tags = ["key", "Slack"]
[[rules]]
description = "EC"
regex = '''-----BEGIN EC PRIVATE KEY-----'''
tags = ["key", "EC"]
description = "Asymmetric Private Key"
regex = '''-----BEGIN (EC|PGP|DSA|RSA|OPENSSH) PRIVATE KEY( BLOCK)?-----'''
tags = ["key", "AsymmetricPrivateKey"]
[[rules]]
description = "Generic Credential"