diff --git a/update-keys b/update-keys index a6e7aa9..a4c5898 100755 --- a/update-keys +++ b/update-keys @@ -8,7 +8,16 @@ TMPDIR=$(mktemp -d) trap "rm -rf '${TMPDIR}'" EXIT KEYSERVER='hkp://pool.sks-keyservers.net' -GPG=(gpg --quiet --batch --no-tty --no-permission-warning --export-options no-export-attributes --keyserver "${KEYSERVER}" --homedir "${TMPDIR}") +GPG=(gpg --homedir "${TMPDIR}") + +cat << __EOF__ > "${TMPDIR}"/gpg.conf +quiet +batch +no-tty +no-permission-warning +export-options no-export-attributes +keyserver ${KEYSERVER} +__EOF__ pushd "$(dirname "$0")" >/dev/null