Skip to content

Commit

Permalink
Merge pull request #104 from JoshuaRLi/ban-gpg-private-key
Browse files Browse the repository at this point in the history
blacklist pgp private key header
  • Loading branch information
KevinHock committed Dec 18, 2018
2 parents 66bfb4c + 093465f commit d255479
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 d255479

Please sign in to comment.