Skip to content

Devel/gregor/rpi sign bootcode extensions - #896

Open
greschi wants to merge 3 commits into
raspberrypi:masterfrom
greschi:devel/gregor/rpi-sign-bootcode-extensions
Open

greschi wants to merge 3 commits into
raspberrypi:masterfrom
greschi:devel/gregor/rpi-sign-bootcode-extensions

Conversation

@greschi

@greschi greschi commented Oct 2, 2026

Copy link
Copy Markdown

Hi,

some additions to the rpi-sign-bootcode to allow external signing and implementing of the externally signed signature.
Also a verify option to allow verification of a signed bootcode against a public key.

Gregor Herburger added 3 commits October 2, 2026 13:35
Allow a detached signature to be added to the binary.

Signed-off-by: Gregor Herburger <gregor.herburger@linutronix.de>
To generate a signed eeprom image the payload that gets signed must
contain file length, keynum, version. Add a prepare function that adds
those to file so that can then be signed by an following step.

Signed-off-by: Gregor Herburger <gregor.herburger@linutronix.de>
Add functionality to verify a signed image against a public key. As the
public keys exponent and modulus are embedded into the binary these can
be used. But also verify against a extern publik key.

Signed-off-by: Gregor Herburger <gregor.herburger@linutronix.de>
@timg236

timg236 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

These are quite large changes to a core script. I think we'll to consider how these might be used and what the right interface is.

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.

2 participants