diff mbox series

[meta-python,6/9] python3-imgtool: Upgrade 2.4.0 -> 2.5.0

Message ID 20261023174401.3617912-6-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/9] python3-alembic: Upgrade 1.20.0 -> 1.20.1 | expand

Commit Message

Leon Anavi Oct. 23, 2026, 5:43 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../{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 mbox series

Patch

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