Merge pull request #307 from pegasd/add_pkcs8_key_support

Add support for PKCS8 key
This commit is contained in:
Zachary Rice authored and GitHub committed 2019-12-07 19:33:54 -05:00
commit 52425a8ca9
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]]