hkps over port 443 instead of 11371 to resolve issue https://github.com/actions/runner-images/discussions/9963 (#10007)

* Change to use port 80 instead of 11371

Change to use port 80 instead of 11371

* Update install-swift.sh

Changed to hkps and port 443 for added security

* Fix merge conflicts
This commit is contained in:
Lukas Bühler
2025-02-05 16:37:37 +01:00
committed by GitHub
parent 93cafaffc5
commit bd86538e4e

View File

@@ -18,7 +18,7 @@ archive_path=$(download_with_retry "$archive_url")
# Verifying PGP signature using official Swift PGP key. Referring to https://www.swift.org/install/linux/#Installation-via-Tarball
# Download and import Swift PGP keys
gpg --keyserver hkp://keyserver.ubuntu.com \
gpg --keyserver hkps://keyserver.ubuntu.com:443 \
--recv-keys \
'7463 A81A 4B2E EA1B 551F FBCF D441 C977 412B 37AD' \
'1BE1 E29A 084C B305 F397 D62A 9F59 7F4D 21A5 6D5F' \
@@ -29,7 +29,8 @@ gpg --keyserver hkp://keyserver.ubuntu.com \
'8A74 9566 2C3C D4AE 18D9 5637 FAF6 989E 1BC1 6FEA' \
'E813 C892 820A 6FA1 3755 B268 F167 DF1A CF9C E069' \
'52BB 7E3D E28A 71BE 22EC 05FF EF80 A866 B47A 981F'
gpg --keyserver hkp://keyserver.ubuntu.com --refresh-keys Swift
gpg --keyserver hkps://keyserver.ubuntu.com:443 --refresh-keys Swift
# Download and verify signature
signature_path=$(download_with_retry "${archive_url}.sig")