From a6e36b5ae656561739423e6afa1799a5919cb5cf Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 23 Oct 2026 20:43:58 +0300 Subject: [PATCH] python3-imgtool: Upgrade 2.4.0 -> 2.5.0 Upgrade to release 2.5.0: - imgtool now requires Python 3.8 or later. This also fixes key export commands, which failed on Python 3.8 and 3.9. - Added imgtool keyinfo, which reports whether a PEM file holds a key pair or only a public key. With --require, it fails if the kind does not match, which build systems can use as a check. - Added --name-suffix to imgtool getpub and imgtool getpubhash, which appends a suffix to the generated C or Rust symbol names so that several keys can be embedded in one image. - Public-key-only PEM files are now supported by imgtool getpub, imgtool getpubhash and imgtool verify. imgtool sign given a public-only PEM now fails with a clear error. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-imgtool_2.4.0.bb => python3-imgtool_2.5.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-imgtool_2.4.0.bb => python3-imgtool_2.5.0.bb} (79%) diff --git a/meta-python/recipes-devtools/python/python3-imgtool_2.4.0.bb b/meta-python/recipes-devtools/python/python3-imgtool_2.5.0.bb similarity index 79% rename from meta-python/recipes-devtools/python/python3-imgtool_2.4.0.bb rename to meta-python/recipes-devtools/python/python3-imgtool_2.5.0.bb index 6b88fc0535..6ba236e89a 100644 --- a/meta-python/recipes-devtools/python/python3-imgtool_2.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-imgtool_2.5.0.bb @@ -3,7 +3,7 @@ SUMMARY = "MCUboot's image signing and key management tool" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://imgtool/main.py;beginline=3;endline=18;md5=0645fb61e2f961a110302fbfdb227446" -SRC_URI[sha256sum] = "ef2db1d9e3f62b9bc9425a8e86c4ea7212c164f0a16e923d55250f0d8743342e" +SRC_URI[sha256sum] = "226b5029beb0cdb490095edd59ccfa32edfa7b31450c2683b44b1abb772e80d9" inherit pypi setuptools3