-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecdsa-p256 TLV support removed and breaking updates for everyone #1690
Comments
Hi Jamie, |
I don't think this is acceptable if I understand it correctly @davidvincze. This has never happened before in MCUboot (that I am aware of) and I do not think this should happen at all. Thanks in advance for looking into it. In the future, could we try and make sure that PRs like #1617 have a wider review audience before they are merged? |
There should be some process of depreciating features. This is no a 0-day thing that requires immediate response and fix. |
I'm really sorry for the inconvenience and of course, it was not my intention.
I agree, this could have been avoided. The basic idea was that it's unnecessary to have different TLV types for separate algorithms and it just cannot be expected that backward compatibility is kept forever; in the future MCUboot might change its behaviour for example by introducing new mandatory TLVs (breaking backward compatibility) or refactoring/abandoning the complete TLV area - but again, I understand that it happened too suddenly. I'm going to upload a patch soon to "rehabilitate" the IMAGE_TLV_ECDSA256 TLV type. I'd really appreciate your help with the review. It was a change of little importance, but greater impact... |
Can be closed, yes. |
Very much appreciate the fast turnaround time fixing this @davidvincze! |
I've just had a look at some the commits which were merged today which change the TLV of the ecdsa-p256 TLV, which previously had an ID of 0x22 to now have an ID of 0x25. So I've gave this a little try from zephyr of building mcuboot and an image with the version of mcuboot there and the same but with the latest version of mcuboot from here at
main
with the key set to ECDSA-P256 and it seems that with the new mcuboot build, it is wholly unable to boot images built for older versions of zephyr or using older versions of mcuboot.Now maybe I'm just overlooking something simple and it's actually all fine, but @Roolli @davidvincze @adeaarm could you please confirm if the above is true or not, and if the above is true, why you think it's acceptable to have just broken mcuboot/mcuboot-built images for essentially everyone in the world using mcuboot that was using ecdsa-p256?
The text was updated successfully, but these errors were encountered: