]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/gpg_sign.py: Fix gpg verification
authorDaniel McGregor <daniel.mcgregor@vecima.com>
Tue, 18 May 2021 22:09:29 +0000 (16:09 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 May 2021 14:15:15 +0000 (15:15 +0100)
A stray space made it into the command for verifying gpg signatures.
This caused verification to fail, at least on my host. Removing the
space makes it work as expected.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/gpg_sign.py

index 7634d7ef1db00d23d27df55753f79554b31f8cc4..492f096eaa7320c16fefd15468bf0340931065cd 100644 (file)
@@ -111,7 +111,7 @@ class LocalSigner(object):
 
     def verify(self, sig_file):
         """Verify signature"""
-        cmd = self.gpg_cmd + [" --verify", "--no-permission-warning"]
+        cmd = self.gpg_cmd + ["--verify", "--no-permission-warning"]
         if self.gpg_path:
             cmd += ["--homedir", self.gpg_path]