mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Detect putty & sshcom private keys
This commit is contained in:
parent
a66a33042a
commit
45d3850244
2 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ TESTS = (
|
|||
(b'-----BEGIN DSA PRIVATE KEY-----', 1),
|
||||
(b'-----BEGIN EC PRIVATE KEY-----', 1),
|
||||
(b'-----BEGIN OPENSSH PRIVATE KEY-----', 1),
|
||||
(b'PuTTY-User-Key-File-2: ssh-rsa', 1),
|
||||
(b'---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----', 1),
|
||||
(b'ssh-rsa DATA', 0),
|
||||
(b'ssh-dsa DATA', 0),
|
||||
# Some arbitrary binary data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue