sbctl (Secure Boot Manager)
sbctl intends to be a user-friendly secure boot key manager capable of setting up secure boot, offer key management capabilities, and keep track of files that needs to be signed in the boot chain.
Usage
Install the necessary packages:
pacman -S sbctl sbsigntoolsCheck that Secure Boot “Setup Mode” is “Enabled” in UEFI:
sbctl statusCreate your own signing keys:
sbctl create-keysSign the systemd bootloader:
sbctl sign -s \
-o /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed \
/usr/lib/systemd/boot/efi/systemd-bootx64.efiEnroll your custom keys:
sbctl enroll-keys
# Enroll and include Microsoft Keys
sbctl enroll-keys --microsoftSign EFI files:
sbctl sign -s /boot/EFI/Linux/arch-linux.efi
sbctl sign -s /boot/EFI/Linux/arch-linux-fallback.efi
sbctl sign -s /efi/EFI/systemd/systemd-bootx64.efi
sbctl sign -s /efi/EFI/Boot/bootx64.efiVerify signature of EFI files:
sbctl verifyResign everything:
sbctl sign-all