Skip to content

Commit

Permalink
Merge pull request #329 from rpdelaney/feature/ban_gpg_private_key
Browse files Browse the repository at this point in the history
Add ban for pgp/gpg private key blocks to detect_private_key
  • Loading branch information
asottile authored Oct 22, 2018
2 parents cb2bc2e + b1feed0 commit 86bfe8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pre_commit_hooks/detect_private_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
b'BEGIN PRIVATE KEY',
b'PuTTY-User-Key-File-2',
b'BEGIN SSH2 ENCRYPTED PRIVATE KEY',
b'BEGIN PGP PRIVATE KEY BLOCK',
]


Expand Down

0 comments on commit 86bfe8c

Please sign in to comment.