Update asymmetric private key regex

This commit is contained in:
Peter Gallagher committed 2019-11-25 15:59:40 +00:00
1 parent 725da55905
commit 77f2fdd09a
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"