fix: adjust DIGESTS verification for changed gentoo signature format

This commit is contained in:
oddlama 2022-05-12 23:24:40 +02:00
parent 9de6e70bce
commit 547ca2e35d
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
1 changed files with 3 additions and 3 deletions

View File

@ -792,7 +792,7 @@ function download_stage3() {
else else
einfo "Downloading $STAGE3_BASENAME tarball" einfo "Downloading $STAGE3_BASENAME tarball"
download "$STAGE3_RELEASES/${CURRENT_STAGE3}" "${CURRENT_STAGE3}" download "$STAGE3_RELEASES/${CURRENT_STAGE3}" "${CURRENT_STAGE3}"
download "$STAGE3_RELEASES/${CURRENT_STAGE3}.asc" "${CURRENT_STAGE3}.asc" download "$STAGE3_RELEASES/${CURRENT_STAGE3}.DIGESTS" "${CURRENT_STAGE3}.DIGESTS"
# Import gentoo keys # Import gentoo keys
einfo "Importing gentoo gpg key" einfo "Importing gentoo gpg key"
@ -804,8 +804,8 @@ function download_stage3() {
# Verify DIGESTS signature # Verify DIGESTS signature
einfo "Verifying tarball signature" einfo "Verifying tarball signature"
gpg --quiet --verify "${CURRENT_STAGE3}.asc" \ gpg --quiet --verify "${CURRENT_STAGE3}.DIGESTS" \
|| die "Signature of '${CURRENT_STAGE3}.asc' invalid!" || die "Signature of '${CURRENT_STAGE3}.DIGESTS' invalid!"
# Check hashes # Check hashes
einfo "Verifying tarball integrity" einfo "Verifying tarball integrity"