Archived
1
0
Fork 0

TSA-Client: verify againt original file

This commit is contained in:
J. Elfring (i) 2022-01-04 15:40:49 +01:00
parent 466938ac8e
commit d3f707f3f3

View file

@ -56,9 +56,9 @@ echo
echo "-------> Verify TSR (informational)" echo "-------> Verify TSR (informational)"
echo "# curl --silent --output freetsa_cacert.pem https://freetsa.org/files/cacert.pem" echo "# curl --silent --output freetsa_cacert.pem https://freetsa.org/files/cacert.pem"
echo "# openssl ts -verify -in $fileToStamp.tsr -queryfile $fileToStamp.tsq -CAfile freetsa_cacert.pem" echo "# openssl ts -verify -data $fileToStamp -in $fileToStamp.tsr -CAfile freetsa_cacert.pem"
curl --silent --output freetsa_cacert.pem https://freetsa.org/files/cacert.pem 2>&1 | sed 's/^/ /' curl --silent --output freetsa_cacert.pem https://freetsa.org/files/cacert.pem 2>&1 | sed 's/^/ /'
openssl ts -verify -in $fileToStamp.tsr -queryfile $fileToStamp.tsq -CAfile freetsa_cacert.pem 2>&1 | sed 's/^/ /' openssl ts -verify -data $fileToStamp -in $fileToStamp.tsr -CAfile freetsa_cacert.pem 2>&1 | sed 's/^/ /'
} | tee $fileToStamp.log } | tee $fileToStamp.log