Skip to content

Commit

Permalink
_dl.sh: bump gpg import timeout for macOS CI host 3
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Aug 29, 2023
1 parent e4a3120 commit 0a00e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _dl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ my_gpg() {
opts+=(--homedir "${gpgdir}")
fi
# Avoid an empty list to workaround bash 3 erroring "unbound variable"
opts+=(--batch --keyserver-options timeout=60 --keyid-format 0xlong)
opts+=(--keyserver-options timeout=60 --keyid-format 0xlong)
gpg "${opts[@]}" "$@"
}

Expand Down Expand Up @@ -383,7 +383,7 @@ EOF
elif grep -a -q -F 'BEGIN PGP SIGNATURE' pkg.sig; then
for key in ${keys}; do
if [[ "${key}" = 'https://'* ]]; then
my_curl --max-time 60 "${key}" | my_gpg --quiet --import >/dev/null 2>&1
my_curl --max-time 60 "${key}" | my_gpg --import
else
gpg_recv_key "${key}" >/dev/null 2>&1
fi
Expand Down

0 comments on commit 0a00e02

Please sign in to comment.