summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-16 18:53:39 +0200
committerChristian Poessinger <christian@poessinger.com>2021-10-16 18:54:46 +0200
commitab6da230b7ee01c7667cb6f215ca02bfcf505b14 (patch)
treeaf997d18638a2b41ef3301a3e582edb1cef630ec
parent4de77e763c30354b569360e6edd45ac51c859140 (diff)
downloadvyatta-cfg-system-ab6da230b7ee01c7667cb6f215ca02bfcf505b14.tar.gz
vyatta-cfg-system-ab6da230b7ee01c7667cb6f215ca02bfcf505b14.zip
gpg: T3879: fix signature validation
(cherry picked from commit 217c4b5c165e9e8a64bfe82d3ddade256b0990e0)
-rwxr-xr-xscripts/install/install-image2
1 files changed, 1 insertions, 1 deletions
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."