Repository navigation
Conversation
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>
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. |
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.
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.