Skip to content

Commit bd86538

Browse files
hkps over port 443 instead of 11371 to resolve issue #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
1 parent 93cafaf commit bd86538

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

images/ubuntu/scripts/build/install-swift.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ archive_path=$(download_with_retry "$archive_url")
1818

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

3435
# Download and verify signature
3536
signature_path=$(download_with_retry "${archive_url}.sig")

0 commit comments

Comments
 (0)