Skip to content

Commit

Permalink
Test keyserver via IP
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed May 2, 2024
1 parent bf0e043 commit b725408
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ while [[ $# -gt 0 ]]; do
;;
-k)
KEY="$2"
shift 2
shift 2
;;
-*|--*)
echo "Unknown option $1"
Expand Down Expand Up @@ -95,7 +95,8 @@ else
fi

if [ ! -z "$FILE" ] && [ ! -z "$SIG" ] && [ ! -z "$KEY" ]; then
gpg --keyserver keyserver.ubuntu.com --recv-keys $KEY
# gpg --keyserver keyserver.ubuntu.com --recv-keys $KEY
gpg --keyserver 185.125.188.27 --recv-keys $KEY
gpg --verify $SIG $FILE
rm $SIG
else
Expand Down

0 comments on commit b725408

Please sign in to comment.