-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
lsb@lsb-ThinkPad-E470:zephyr-master-v1.11.99.x$ ./mcuboot-master/scripts/imgtool.py sign \
--key ./mcuboot-master/root-rsa-2048.pem \ --header-size 0x200 \ --align 8 \ --version 1.0 \ --included-header \ ./usr/nrf52/smp_svr/build/zephyr/zephyr.hex signed.hex
Traceback (most recent call last):
File "./mcuboot-master/scripts/imgtool.py", line 150, in
args()
File "./mcuboot-master/scripts/imgtool.py", line 147, in args
subcmdsargs.subcmd
File "./mcuboot-master/scripts/imgtool.py", line 85, in do_sign
img.sign(key)
File "/home/lsb/Desktop/zephyr-master-v1.11.99.x/mcuboot-master/scripts/imgtool/image.py", line 135, in sign
sig = key.sign(bytes(self.payload))
File "/home/lsb/Desktop/zephyr-master-v1.11.99.x/mcuboot-master/scripts/imgtool/keys/rsa.py", line 92, in sign
return self.key.sign(
AttributeError: '_RSAPrivateKey' object has no attribute 'sign'
lsb@lsb-ThinkPad-E470:zephyr-master-v1.11.99.x$
Metadata
Metadata
Assignees
Labels
No labels