setup/ssl/check

8 lines
160 B
Plaintext
Raw Normal View History

2017-01-18 20:51:05 +00:00
#!/bin/sh
if [ $# -lt 2 ]; then
echo "missing arguments {in_file} {in_signature}" && exit;
fi;
openssl dgst -sha512 -verify ./keys/key.pub -signature $2 $1;