Skip to content

Refactor firecracker checksum validation - #104

Merged
schaefi merged 2 commits into
mainfrom
refactor_firecracker_checksum_validation
Aug 25, 2026
Merged

Refactor firecracker checksum validation#104
schaefi merged 2 commits into
mainfrom
refactor_firecracker_checksum_validation

Conversation

@schaefi

@schaefi schaefi commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Refactor firecracker checksum validation

So far the --kis-image pull method downloaded a tar file and only verified the checksum of the root filesystem image inside the tarball. However the tarball also contains initrd and kernel files and the kiwi kis build also provides an overall checksum file for the entire archive. This commit refactors the code such that the entire tar file is matched against its checksum. The appstore has been already updated to provide these checksum files along with the actual kis tar files.

Drop extra rootfs image checksum test

The image is verified against the checksum record fetched from its origin.

This Fixes #103

So far the --kis-image pull method downloaded a tar file
and only verified the checksum of the root filesystem
image inside the tarball. However the tarball also contains
initrd and kernel files and the kiwi kis build also provides
an overall checksum file for the entire archive. This
commit refactors the code such that the entire tar file
is matched against its checksum. The appstore has been
already updated to provide these checksum files along
with the actual kis tar files. This Fixes #103
The image is verified against the checksum record
fetched from its origin. This Fixes #103
@schaefi schaefi self-assigned this Aug 23, 2026
@schaefi
schaefi requested a review from rjschwei August 23, 2026 19:30
@schaefi
schaefi merged commit 4ed6373 into main Aug 25, 2026
6 checks passed
@schaefi
schaefi deleted the refactor_firecracker_checksum_validation branch August 25, 2026 09:25
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.

Add checksum test to flake-ctl firecracker pull command

1 participant