Skip to content

Commit d4444af

Browse files
[TASK] Avoid explicit HKPS for GPG key import
1 parent fad66d6 commit d4444af

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/e2e/setUp.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ function _install_phive() {
3030
# Download PHIVE
3131
wget -qO "${phiveExecutable}" https://phar.io/releases/phive.phar
3232
wget -qO "${phiveExecutable}.asc" https://phar.io/releases/phive.phar.asc
33-
gpg --quiet --keyserver hkps://keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79
33+
curl -sS https://keys.openpgp.org/vks/v1/by-fingerprint/6AF725270AB81E04D79442549D8A98B29B2D5D79 -o /tmp/key.asc
34+
gpg --import /tmp/key.asc >/dev/null 2>&1
35+
rm /tmp/key.asc
36+
gpg --quiet --keyserver keys.openpgp.org --recv-keys 0x9D8A98B29B2D5D79
3437
gpg --quiet --verify "${phiveExecutable}.asc" "${phiveExecutable}" >/dev/null 2>&1
3538
chmod +x "${phiveExecutable}"
3639

0 commit comments

Comments
 (0)