diff --git a/detect_secrets/plugins/private_key.py b/detect_secrets/plugins/private_key.py index a4e709989..848aa7865 100644 --- a/detect_secrets/plugins/private_key.py +++ b/detect_secrets/plugins/private_key.py @@ -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', ) ]