GitLab CI: Update our digest algorithms.

OpenSSL 3 deprecated RIPEMD160. Remove it from our list of digest
algorithms and add SHA512.
This commit is contained in:
Gerald Combs 2022-09-07 10:37:35 -07:00
parent b81948f534
commit b54219f7ad
1 changed files with 3 additions and 3 deletions

View File

@ -194,7 +194,7 @@ Source Package:
after_script:
# - ccache --max-size $( du --summarize --block-size=1M "$CI_PROJECT_DIR/build" | awk '{printf ("%dM", $1 * 1.5)}' )
- stat --format="%n %s bytes" wireshark-*.tar.*
- for digest in sha256 rmd160 sha1 ; do openssl $digest wireshark-*.tar.* ; done
- for digest in sha512 sha256 sha1 ; do openssl $digest wireshark-*.tar.* ; done
# This will break if we produce multiple tarballs, which is arguably a good thing.
- if [ -n "$S3_DESTINATION_DIST" ] ; then aws s3 cp wireshark-*.tar.* "$S3_DESTINATION_DIST/" ; fi
artifacts:
@ -385,7 +385,7 @@ macOS Arm Package:
- cd run
- notarize-build
- stat -f "%N %z bytes" Wireshark*Arm*.dmg
- for digest in sha256 rmd160 sha1 ; do openssl $digest Wireshark*Arm*.dmg ; done
- for digest in sha512 sha256 sha1 ; do openssl $digest Wireshark*Arm*.dmg ; done
- |
if [ -n "$S3_DESTINATION_MACOS_ARM64" ] ; then
aws s3 cp Wireshark?[1-9]*Arm*.dmg "$S3_DESTINATION_MACOS_ARM64/"
@ -419,7 +419,7 @@ macOS Intel Package:
- cd run
- notarize-build
- stat -f "%N %z bytes" Wireshark*Intel*.dmg
- for digest in sha256 rmd160 sha1 ; do openssl $digest Wireshark*Intel*.dmg ; done
- for digest in sha512 sha256 sha1 ; do openssl $digest Wireshark*Intel*.dmg ; done
- |
if [ -n "$S3_DESTINATION_MACOS_INTEL64" ] ; then
aws s3 cp Wireshark?[1-9]*Intel*.dmg "$S3_DESTINATION_MACOS_INTEL64/"