Skip to content

Commit be4b51c

Browse files
michalek-nojukkar
authored andcommitted
[nrf fromlist] scipts: imgtool: bugfix #2096
fixing broken encryption caused by shift in function parameters. Upstream PR: mcu-tools/mcuboot#2098 Signed-off-by: Mateusz Michalek <[email protected]> (cherry picked from commit 31f74eb) (cherry picked from commit 2b568d8)
1 parent bd07437 commit be4b51c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/imgtool/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def sign(key, public_key_format, align, version, pad_sig, header_size,
510510
}
511511

512512
img.create(key, public_key_format, enckey, dependencies, boot_record,
513-
custom_tlvs, compression_tlvs, int(encrypt_keylen), clear,
513+
custom_tlvs, compression_tlvs, None, int(encrypt_keylen), clear,
514514
baked_signature, pub_key, vector_to_sign, user_sha)
515515

516516
if compression in ["lzma2", "lzma2armthumb"]:

0 commit comments

Comments
 (0)