This tool allows you to sign an archiso with your secure-boot key.
You need to install these dependencies first:
pacman -S binutils sbsigntools archiso
You can easily build a signed iso with running the following command:
./build.sh -v
The iso will be located in out/
.
The following settings are available:
- Locations of the secure-boot keys
- Boot splash image
- efistub to use (e.g. for x86_32)
- gpg_key to verify image
⚠️ Note: this needs to be specified, otherwise the image will refuse to boot. The key needs to be in your gnupg keychain.
Edit the file config
to change the settings.
- The kernel command line, initramfs and boot splash will be embedded in the signed UEFI image.
- A root password is set.
- The initramfs of arch linux does not support authentication. The interactive shell (in case of errors) is deactivated.
- The root partition will be checked with a sha512sum (signed in the kernel command line) and a gpg-key (signed in the initramfs).
- Aborting the password query results in an endless loop.
- Add authentication method to the initramfs.
- Create a seperate hook for verifying the image.