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:53:39 +0200
commit217c4b5c165e9e8a64bfe82d3ddade256b0990e0 (patch)
treea3793f2756b19546e2f8df93a808cdbe2656c45b
parentd4092b3426929e867d4bc5860095a2ded899537e (diff)
downloadvyatta-cfg-system-217c4b5c165e9e8a64bfe82d3ddade256b0990e0.tar.gz
vyatta-cfg-system-217c4b5c165e9e8a64bfe82d3ddade256b0990e0.zip
gpg: T3879: fix signature validation
-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 146a6560..f59f3475 100755
--- a/scripts/install/install-image
+++ b/scripts/install/install-image
@@ -193,7 +193,7 @@ fetch_iso_by_url ()
if [ -e ${filename}.asc ]; then
echo "Found it. Checking digital signature..."
- gpg --keyring /etc/apt/trusted.gpg --verify ${filename}.asc
+ gpg --verify ${filename}.asc ${filename} >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Signature check FAILED."
echo -n "Do you want to continue anyway? (yes/no) [no] "