Merge pull request #897 from jcfr/update-install-gosu-binary-to-prefer-checking-against-secured-key-server

fix(install-gosu-binary): Prefer checking key from server using "hkps" protocol
This commit is contained in:
Jean-Christophe Fillion-Robin
2025-07-22 13:24:49 -04:00
committed by GitHub

View File

@@ -56,6 +56,7 @@ url_key="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-$
# download and verify the signature
export GNUPGHOME="$(mktemp -d)"
gpg --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 || \
gpg --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 || \
gpg --keyserver hkp://pgp.key-server.io:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 || \
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4