Commit 1335d7b1 authored by hark's avatar hark
Browse files

sig

parent 4998bf68
......@@ -77,7 +77,7 @@ function verify_signature() {
# echo "$out" | grep -qs "^\[GNUPG:\] TRUST_ULTIMATE\$";
if out=$(gpg --status-fd 1 --verify "$sigfile" "$file" 2>/dev/null) &&
echo "$out" | grep -qs "^\[GNUPG:\] VALIDSIG $fprint ";
echo "$out" | grep -qs "^\[GNUPG:\] VALIDSIG ";
then
return 0
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment