Introduce fully reproducible image builds #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment, the Docker-based setup here allows for partially reproducible image builds.
To address the potential threat in our threat model of a compromised build host, we should implement reproducible image builds.
This will likely require:
alpine-make-rootfsand the postinstallsetup.shin Nix to be more deterministicI'm not sure if the final packed and signed EFI build will ever be byte-for-byte comparable to one built on another machine, but as long as the image can be unpacked and hashed down the whole initramfs file tree, and the kernel then I think we can call this one complete.
See also: https://github.com/alpinelinux/alpine-make-rootfs/issues/24