Skip to content

Commit a17880f

Browse files
committed
Import GPG keys from keyserver
Import Nginx public keys directly from the new sks-keyservers.net.
1 parent 41e18a0 commit a17880f

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

Dockerfile

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,13 @@ RUN \
6060

6161
# GPG keys from the main maintainers of Nginx
6262
# Source https://nginx.org/en/pgp_keys.html
63-
curl -SLO https://nginx.org/keys/nginx_signing.key && \
64-
gpg --import nginx_signing.key && \
65-
curl -SLO https://nginx.org/keys/aalexeev.key && \
66-
gpg --import aalexeev.key && \
67-
curl -SLO https://nginx.org/keys/is.key && \
68-
gpg --import is.key && \
69-
curl -SLO https://nginx.org/keys/mdounin.key && \
70-
gpg --import mdounin.key && \
71-
curl -SLO https://nginx.org/keys/maxim.key && \
72-
gpg --import maxim.key && \
73-
curl -SLO https://nginx.org/keys/sb.key && \
74-
gpg --import sb.key && \
63+
gpg --keyserver sks-keyservers.net --recv-keys \
64+
"6550 6C02 EFC2 50F1 B7A3 D694 ECF0 E90B 2C17 2083" \
65+
"4C2C 85E7 05DC 7308 3399 0C38 A937 6139 A524 C53E" \
66+
"B0F4 2533 73F8 F6F5 10D4 2178 520A 9993 A1C0 52F8" \
67+
"7338 9730 69ED 3F44 3F4D 37DF A64F D5B1 7ADB 39A8" \
68+
"A09C D539 B8BB 8CBE 96E8 2BDF ABD4 D3B3 F580 6B4D" \
69+
"573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62" && \
7570

7671
# Verify signature
7772
curl -SLO https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz.asc && \

0 commit comments

Comments
 (0)