test cleanup

This commit is contained in:
Michał Trojnara 2018-11-22 08:07:13 +01:00
parent bc8e209d6e
commit 9554bbeb14

View File

@ -11,7 +11,7 @@ if [ ! -f putty.exe ]; then
exit 1
fi
rm -f key.* cert.*
rm -f cert.pem cert.spc key.der key.p12 key.pem key.pvk keyp.pem
keytool -genkey \
-alias selfsigned -keysize 2048 -keyalg RSA -keypass passme -storepass passme -keystore key.ks << EOF
@ -54,6 +54,8 @@ openssl crl2pkcs7 -nocrl -certfile cert.pem -outform DER -out cert.spc
../osslsigncode sign -pkcs12 key.p12 -pass passme putty.exe putty5.exe
../osslsigncode sign -certs cert.spc -key key.pvk -pass passme putty.exe putty6.exe
rm -f cert.pem cert.spc key.der key.p12 key.pem key.pvk keyp.pem
echo ""
echo ""