From 31f74eb6fcd304f185f716138d4bfcc8070bb316 Mon Sep 17 00:00:00 2001 From: Mateusz Michalek Date: Tue, 15 Oct 2024 16:01:18 +0200 Subject: [PATCH] [nrf fromlist] scipts: imgtool: bugfix #2096 fixing broken encryption caused by shift in function parameters. Upstream PR: https://github.com/mcu-tools/mcuboot/pull/2098 Signed-off-by: Mateusz Michalek --- scripts/imgtool/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/imgtool/main.py b/scripts/imgtool/main.py index 94952a838..009d9234c 100755 --- a/scripts/imgtool/main.py +++ b/scripts/imgtool/main.py @@ -510,7 +510,7 @@ def sign(key, public_key_format, align, version, pad_sig, header_size, } img.create(key, public_key_format, enckey, dependencies, boot_record, - custom_tlvs, compression_tlvs, int(encrypt_keylen), clear, + custom_tlvs, compression_tlvs, None, int(encrypt_keylen), clear, baked_signature, pub_key, vector_to_sign, user_sha) if compression in ["lzma2", "lzma2armthumb"]: