aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel McGregor <daniel.mcgregor@vecima.com>2021-05-18 16:09:29 -0600
committerSteve Sakoman <steve@sakoman.com>2021-05-28 14:22:21 -1000
commitfeec7cdda906aed37212dc05ea9ff1ef871c28da (patch)
tree1206835fa818b5c3acd1247abdf6d18b7f57005d
parent0bfccdee11866d7f4e6c767127379329cd1dea2d (diff)
downloadopenembedded-core-contrib-feec7cdda906aed37212dc05ea9ff1ef871c28da.tar.gz
openembedded-core-contrib-feec7cdda906aed37212dc05ea9ff1ef871c28da.tar.bz2
openembedded-core-contrib-feec7cdda906aed37212dc05ea9ff1ef871c28da.zip
lib/oe/gpg_sign.py: Fix gpg verification
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> (cherry picked from commit af1d948822cbe6ac7ede9cb4e881db8dc780e308) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/lib/oe/gpg_sign.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/gpg_sign.py b/meta/lib/oe/gpg_sign.py
index 7634d7ef1db..492f096eaa7 100644
--- a/meta/lib/oe/gpg_sign.py
+++ b/meta/lib/oe/gpg_sign.py
@@ -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]