summaryrefslogtreecommitdiff
path: root/test/py/tests/test_fit_ecdsa.py
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2021-02-19 12:45:20 -0600
committerTom Rini <trini@konsulko.com>2021-04-14 15:23:01 -0400
commit78015263b9789ef12fa6e454cf5041f97ce40da4 (patch)
tree4f252df9b941fd1a21e55d07ea68555062398894 /test/py/tests/test_fit_ecdsa.py
parenteb22759e2be9c45b0f39ee7ab028e6e4144ce629 (diff)
test/py: ecdsa: Use mkimage keyfile instead of keydir argument
Originally, the ECDSA code path used 'keydir' as the key filename. mkimage has since been updated to include a new 'keyfile' argument. Use the new argument for passing in the key. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/tests/test_fit_ecdsa.py')
-rw-r--r--test/py/tests/test_fit_ecdsa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_fit_ecdsa.py b/test/py/tests/test_fit_ecdsa.py
index f597570281a..87b60812229 100644
--- a/test/py/tests/test_fit_ecdsa.py
+++ b/test/py/tests/test_fit_ecdsa.py
@@ -52,7 +52,7 @@ class SignableFitImage(object):
self.__fdt_set(f'{image}/signature', algo='sha256,ecdsa256')
def sign(self, mkimage, key_file):
- util.run_and_log(self.cons, [mkimage, '-F', self.fit, f'-k{key_file}'])
+ util.run_and_log(self.cons, [mkimage, '-F', self.fit, f'-G{key_file}'])
def check_signatures(self, key):
for image in self.signable_nodes: