1 # this scripts tests the key conversion routines
2 # it converts the _pub files in test/ from openssh to openssl
3 # it then verifies signatures with openssl (see keytest.sh)
9 # these are in a different format
10 #./keyconvert test/openssh_rsa1_512.pub testout/openssl_rsa1_512.pem
11 #./keyconvert test/openssh_rsa1_1024.pub testout/openssl_rsa1_1024.pem
12 #./keyconvert test/openssh_rsa1_2048.pub testout/openssl_rsa1_2048.pem
15 ./keyconvert test/openssh_rsa_512.pub testout/openssl_rsa_512.pem
16 ./keyconvert test/openssh_rsa_1024.pub testout/openssl_rsa_1024.pem
17 ./keyconvert test/openssh_rsa_2048.pub testout/openssl_rsa_2048.pem
20 ./keyconvert test/openssh_dsa_512.pub testout/openssl_dsa_512.pem
21 ./keyconvert test/openssh_dsa_1024.pub testout/openssl_dsa_1024.pem
22 ./keyconvert test/openssh_dsa_2048.pub testout/openssl_dsa_2048.pem
24 # make a test file to encrypt
25 echo "this is a test to see if the key conversion routines work" > test.txt
28 ./testkey.sh -sha1 rsa_512
29 ./testkey.sh -sha1 rsa_1024
30 ./testkey.sh -sha1 rsa_2048
31 ./testkey.sh -dss1 dsa_512
32 ./testkey.sh -dss1 dsa_1024
33 ./testkey.sh -dss1 dsa_2048