setup/ssl/check

8 lines
160 B
Bash
Executable File

#!/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;