8 lines
160 B
Plaintext
8 lines
160 B
Plaintext
|
#!/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;
|