Skip to content
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

Update image-builder to output a hashes file. #1884

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

zhalvorsen
Copy link
Contributor

This can be useful for offline/external signing to extract the digests for an image bundle to be passed to the signing interface.

The output is a JSON file with the vendor and owner hashes tagged with their respective names.

This was tested by printing the hash from the ROM in the smoke tests to ensure the calculated hash is the same for both the firmware and tool.

@zhalvorsen zhalvorsen requested review from jhand2 and clundin25 January 9, 2025 21:01
builder/bin/image_gen.rs Outdated Show resolved Hide resolved
builder/bin/image_gen.rs Outdated Show resolved Hide resolved
clundin25
clundin25 previously approved these changes Jan 13, 2025
This can be useful for offline/external signing to extract the digests
for an image bundle to be passed to the signing interface.

The output is a JSON file with the vendor and owner hashes tagged with
their respective names.

This was tested by printing the hash from the ROM in the smoke tests to
ensure the calculated hash is the same for both the firmware and tool.
@jhand2 jhand2 merged commit 6f0a823 into main Jan 14, 2025
11 checks 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.

3 participants