1
0
Fork 0

add gpg-verify.sh

This commit is contained in:
Intel A80486DX2-66 2023-12-23 19:51:54 +03:00
parent 8a5677d948
commit 960d0dfeea
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B
1 changed files with 17 additions and 0 deletions

17
gpg-verify.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
display_help=true
fi
if [ $# -ne 2 ]; then
display_help=true
fi
if [ "$display_help" = true ]; then
echo "Usage: $(basename $0) <file> <detached signature file>"
exit 0
fi
gpg --verify $2 $1