Skip to content

Conversation

@karalabe
Copy link
Contributor

If using an HSM, the public key is not derived, rather taken as an input parameter. In that case, however, it can happen that the user specifies a mismatching pubkey. This PR adds a check to make sure the pubkey belongs to the signature before embedding it further.

Fixes #319.

If using an HSM, the public key is not derived, rather taken as an
input parameter. In that case, however, it can happen that the user
specifies a mismatching pubkey. This PR adds a check to make sure
the pubkey belongs to the signature before embedding it further.
@timg236
Copy link
Collaborator

timg236 commented Jul 17, 2025

Looks sensible

@timg236 timg236 merged commit ed6dc56 into raspberrypi:master Jul 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update-pieeprom.sh accepts unrelated pubkey

2 participants