Skip to content

Commit

Permalink
blacklist pgp private key header
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Li committed Dec 18, 2018
1 parent 66bfb4c commit 093465f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions detect_secrets/plugins/private_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ class PrivateKeyDetector(RegexBasedDetector):
r'BEGIN PRIVATE KEY',
r'PuTTY-User-Key-File-2',
r'BEGIN SSH2 ENCRYPTED PRIVATE KEY',
r'BEGIN PGP PRIVATE KEY BLOCK',
)
]

0 comments on commit 093465f

Please sign in to comment.