File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ ENV NODE_VERSION 22.8.0
1212ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
1313
1414# Version and checksum of the GPG installer (Source: https://lists.gnupg.org/pipermail/gnupg-announce/2024q3/000484.html)
15- ENV GPG_VERSION 2.5.0_20240705
16- ENV GPG_CHECKSUM 35caef9965b10eed53b8d09b48fba5d1479f3512
15+ ENV GPG_VERSION 2.4.5_20240307
16+ ENV GPG_CHECKSUM d2ac821ceacf9409ebcdb42ae330087ada30c732981f00b356f9c2f08fac4dc1
1717
1818RUN Invoke-WebRequest $('https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-{0}.exe' -f $env:GPG_VERSION) -OutFile 'gpg-installer.exe' ; \
19- if ((Get-FileHash gpg-installer.exe -Algorithm sha1 ).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
19+ if ((Get-FileHash gpg-installer.exe -Algorithm sha256 ).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
2020 Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
2121 gpg --version;
2222
@@ -34,9 +34,9 @@ RUN @( \
3434 'A363A499291CBBC940DD62E41F10027AF002F8B0' , \
3535 'CC68F5A3106FF448322E48ED27F5E38D5B0A215F' \
3636 ) | foreach { \
37- gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys $_ ; \
37+ gpg --batch --keyserver hkps://keys.openpgp.org --verbose -- recv-keys $_ ; \
3838 if (-not $?) { \
39- gpg --batch --keyserver keyserver.ubuntu.com --recv-keys $_ ; \
39+ gpg --batch --keyserver keyserver.ubuntu.com --verbose -- recv-keys $_ ; \
4040 } \
4141 } ; \
4242 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ ENV NODE_VERSION 22.8.0
1212ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
1313
1414# Version and checksum of the GPG installer (Source: https://lists.gnupg.org/pipermail/gnupg-announce/2024q3/000484.html)
15- ENV GPG_VERSION 2.5.0_20240705
16- ENV GPG_CHECKSUM 35caef9965b10eed53b8d09b48fba5d1479f3512
15+ ENV GPG_VERSION 2.4.5_20240307
16+ ENV GPG_CHECKSUM d2ac821ceacf9409ebcdb42ae330087ada30c732981f00b356f9c2f08fac4dc1
1717
1818RUN Invoke-WebRequest $('https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-{0}.exe' -f $env:GPG_VERSION) -OutFile 'gpg-installer.exe' ; \
19- if ((Get-FileHash gpg-installer.exe -Algorithm sha1 ).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
19+ if ((Get-FileHash gpg-installer.exe -Algorithm sha256 ).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
2020 Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
2121 gpg --version;
2222
@@ -34,9 +34,9 @@ RUN @( \
3434 'A363A499291CBBC940DD62E41F10027AF002F8B0' , \
3535 'CC68F5A3106FF448322E48ED27F5E38D5B0A215F' \
3636 ) | foreach { \
37- gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys $_ ; \
37+ gpg --batch --keyserver hkps://keys.openpgp.org --verbose -- recv-keys $_ ; \
3838 if (-not $?) { \
39- gpg --batch --keyserver keyserver.ubuntu.com --recv-keys $_ ; \
39+ gpg --batch --keyserver keyserver.ubuntu.com --verbose -- recv-keys $_ ; \
4040 } \
4141 } ; \
4242 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ ENV NODE_VERSION 0.0.0
1212ENV NODE_CHECKSUM CHECKSUM_x64
1313
1414# Version and checksum of the GPG installer (Source: https://lists.gnupg.org/pipermail/gnupg-announce/2024q3/000484.html)
15- ENV GPG_VERSION 2.5.0_20240705
16- ENV GPG_CHECKSUM 35caef9965b10eed53b8d09b48fba5d1479f3512
15+ ENV GPG_VERSION 2.4.5_20240307
16+ ENV GPG_CHECKSUM d2ac821ceacf9409ebcdb42ae330087ada30c732981f00b356f9c2f08fac4dc1
1717
1818RUN Invoke-WebRequest $('https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-{0}.exe' -f $env:GPG_VERSION) -OutFile 'gpg-installer.exe'; \
19- if ((Get-FileHash gpg-installer.exe -Algorithm sha1 ).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
19+ if ((Get-FileHash gpg-installer.exe -Algorithm sha256 ).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
2020 Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
2121 gpg --version;
2222
2323RUN @( \
2424 "${NODE_KEYS[@]}"
2525 ) | foreach { \
26- gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys $_ ; \
26+ gpg --batch --keyserver hkps://keys.openpgp.org --verbose -- recv-keys $_ ; \
2727 if (-not $?) { \
28- gpg --batch --keyserver keyserver.ubuntu.com --recv-keys $_ ; \
28+ gpg --batch --keyserver keyserver.ubuntu.com --verbose -- recv-keys $_ ; \
2929 } \
3030 } ; \
3131 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
You can’t perform that action at this time.
0 commit comments