Repository navigation
Conversation
Ta-ras
force-pushed
the
imgtool-enc-sign-keys-fix
branch
2 times, most recently
from
October 8, 2026 23:14
7ca548f to
b809eac
Compare
Ta-ras
force-pushed
the
imgtool-enc-sign-keys-fix
branch
from
November 2, 2026 11:54
b809eac to
416e93d
Compare
Fix encrypted image creation for devices that have an ECDSA P-384 image-validation key provisioned in hardware. MCUboot does not support image encryption with P-384 keys: ECIES is only defined for P-256 (ENC_EC256). The only way to encrypt images for these devices is to encrypt with a P-256 key and sign with the provisioned P-384 key. Decouple the encryption key type from the signing key type, so a P-256 encryption key can be used together with a P-384 signing key. Signed-off-by: Ta-ras <taras.b@infineon.com>
Ta-ras
force-pushed
the
imgtool-enc-sign-keys-fix
branch
from
November 2, 2026 12:04
416e93d to
3e7f325
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
imgtool: decouple encryption key type from ECDSA P-384 signing key
Fix encrypted image creation for devices that have an ECDSA P-384 image-validation key provisioned in hardware. MCUboot does not support image encryption with P-384 keys; ECIES is only defined for P-256 (ENC_EC256). The only way to encrypt images for these devices is to encrypt with a P-256 key and sign with the provisioned P-384 key.
This PR allows an P-256 encryption key together with an ECDSA P-384 signing key.