Skip to content

Commit

Permalink
Fix GPG keyservers list
Browse files Browse the repository at this point in the history
Some of them have been shutdown (`keys.gnupg.net` and the whole `sks-keyservers.net` pool) and one of them is always super-slow (`pgp.mit.edu`).

This commit uses fast and online keyservers.

See the discussion at https://unix.stackexchange.com/questions/656205/sks-keyservers-gone-what-to-use-instead
  • Loading branch information
michaelbaudino committed Jul 17, 2023
1 parent cb79415 commit 64baafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ RUN set -eux; \
[ "${osType}" = "alpine" ] && apk add --no-cache --virtual .gosu-deps gnupg || :; \
\
# Fetch author public key
for keyserver in $(shuf -e keys.gnupg.net ha.pool.sks-keyservers.net hkp://p80.pool.sks-keyservers.net:80 keyserver.ubuntu.com pgp.mit.edu); do \
for keyserver in $(shuf -e keyserver.ubuntu.com keys.openpgp.org keys.mailvelope.com); do \
gpg --batch --no-tty --keyserver "${keyserver}" --recv-keys "B42F6819007F00F88E364FD4036A9C25BF357DD4" && break || :; \
done; \
\
Expand Down

0 comments on commit 64baafa

Please sign in to comment.