From ab6da230b7ee01c7667cb6f215ca02bfcf505b14 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 16 Oct 2021 18:53:39 +0200 Subject: gpg: T3879: fix signature validation (cherry picked from commit 217c4b5c165e9e8a64bfe82d3ddade256b0990e0) --- scripts/install/install-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/install') diff --git a/scripts/install/install-image b/scripts/install/install-image index 5e040e5e..b4b9cfba 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -145,7 +145,7 @@ fetch_iso_by_url () fi fi if [ -f ${filename}.asc ]; then - gpg --keyring /etc/apt/trusted.gpg --verify ${filename}.asc + gpg --verify ${filename}.asc ${filename} >/dev/null 2>&1 fi if [ $? -ne 0 ]; then echo "Signature check FAILED." -- cgit v1.2.3