Add support for PKCS8 key

This commit is contained in:
Eugene Piven committed 2019-12-03 20:24:33 +03:00
1 parent ef38b69c39
commit 36c6ddaf86
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ title = "gitleaks config"
[[rules]]
description = "Asymmetric Private Key"
regex = '''-----BEGIN (EC|PGP|DSA|RSA|OPENSSH) PRIVATE KEY( BLOCK)?-----'''
regex = '''-----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?-----'''
tags = ["key", "AsymmetricPrivateKey"]
[[rules]]