diff --git a/scripts/imgtool/main.py b/scripts/imgtool/main.py index 009d9234c..e0f70945c 100755 --- a/scripts/imgtool/main.py +++ b/scripts/imgtool/main.py @@ -552,7 +552,7 @@ def sign(key, public_key_format, align, version, pad_sig, header_size, compressed_img.create(key, public_key_format, enckey, dependencies, boot_record, custom_tlvs, compression_tlvs, compression, int(encrypt_keylen), clear, baked_signature, - pub_key, vector_to_sign) + pub_key, vector_to_sign, user_sha=user_sha) img = compressed_img img.save(outfile, hex_addr) if sig_out is not None: