You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The imgtool script I was using to sign some firmware images broke in the pipeline since updating to v42.
Earlier today it was working fine with cryptography-41.0.7
File "/usr/local/lib/python3.10/dist-packages/imgtool/main.py", line 475, in sign
img.create(key, public_key_format, enckey, dependencies, boot_record,
File "/usr/local/lib/python3.10/dist-packages/imgtool/image.py", line 481, in create
sig = key.sign(bytes(self.payload))
File "/usr/local/lib/python3.10/dist-packages/imgtool/keys/ecdsa.py", line 208, in sign
sig = self.raw_sign(payload)
File "/usr/local/lib/python3.10/dist-packages/imgtool/keys/ecdsa.py", line 203, in raw_sign
return self.key.sign(
TypeError: ECPrivateKey.sign() got an unexpected keyword argument 'signature_algorithm'
The text was updated successfully, but these errors were encountered:
The imgtool script I was using to sign some firmware images broke in the pipeline since updating to v42.
Earlier today it was working fine with cryptography-41.0.7
https://github.com/nrfconnect/sdk-mcuboot
File "/usr/local/lib/python3.10/dist-packages/imgtool/main.py", line 475, in sign
img.create(key, public_key_format, enckey, dependencies, boot_record,
File "/usr/local/lib/python3.10/dist-packages/imgtool/image.py", line 481, in create
sig = key.sign(bytes(self.payload))
File "/usr/local/lib/python3.10/dist-packages/imgtool/keys/ecdsa.py", line 208, in sign
sig = self.raw_sign(payload)
File "/usr/local/lib/python3.10/dist-packages/imgtool/keys/ecdsa.py", line 203, in raw_sign
return self.key.sign(
TypeError: ECPrivateKey.sign() got an unexpected keyword argument 'signature_algorithm'
The text was updated successfully, but these errors were encountered: