From 547ca2e35d42dc17f60ce7ffa594cea90d7fed78 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 12 May 2022 23:24:40 +0200 Subject: [PATCH] fix: adjust DIGESTS verification for changed gentoo signature format --- scripts/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index 072a139..43f3583 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -792,7 +792,7 @@ function download_stage3() { else einfo "Downloading $STAGE3_BASENAME tarball" 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 einfo "Importing gentoo gpg key" @@ -804,8 +804,8 @@ function download_stage3() { # Verify DIGESTS signature einfo "Verifying tarball signature" - gpg --quiet --verify "${CURRENT_STAGE3}.asc" \ - || die "Signature of '${CURRENT_STAGE3}.asc' invalid!" + gpg --quiet --verify "${CURRENT_STAGE3}.DIGESTS" \ + || die "Signature of '${CURRENT_STAGE3}.DIGESTS' invalid!" # Check hashes einfo "Verifying tarball integrity"