mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-13 07:41:19 +08:00
Add ban for pgp/gpg private key blocks
This commit is contained in:
@@ -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',
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user