8 lines
149 B
Plaintext
8 lines
149 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ $# -lt 2 ]; then
|
||
|
echo "missing arguments {in_file} {out_signature}" && exit;
|
||
|
fi;
|
||
|
|
||
|
openssl dgst -sha512 -sign ./keys/key -out $2 $1;
|