mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 10:16:54 +00:00
Merge pull request #329 from rpdelaney/feature/ban_gpg_private_key
Add ban for pgp/gpg private key blocks to detect_private_key
This commit is contained in:
commit
86bfe8c475
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ BLACKLIST = [
|
|||
b'BEGIN PRIVATE KEY',
|
||||
b'PuTTY-User-Key-File-2',
|
||||
b'BEGIN SSH2 ENCRYPTED PRIVATE KEY',
|
||||
b'BEGIN PGP PRIVATE KEY BLOCK',
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue