Allow arbitrary binary to pass the private key hook check. Resolves #64

This commit is contained in:
Anthony Sottile 2015-06-11 13:28:10 -07:00
parent 6077f2fefb
commit 07c938e1b1
2 changed files with 7 additions and 7 deletions

View file

@ -10,6 +10,8 @@ TESTS = (
(b'-----BEGIN DSA PRIVATE KEY-----', 1),
(b'ssh-rsa DATA', 0),
(b'ssh-dsa DATA', 0),
# Some arbitrary binary data
(b'\xa2\xf1\x93\x12', 0),
)