No description
- Shell 100%
| README.md | ||
| sign-latest-kernel.sh | ||
sign-cachy-kernels
Signs all installed non-rescue kernels with a local Secure Boot key.
I needed this because I keep Secure Boot enabled to play Valorant on Windows, while still wanting to boot CachyOS kernels on the same machine. CachyOS kernels are not signed, so this script signs them with my local key so they can boot after I enroll that cert.
Requirements:
opensslsbsigntools- root
Usage:
sudo ./sign-latest-kernel.sh
Notes:
- Generates or reuses a keypair in
/root/.kernel-signing-keys - Copies the public DER cert to
/boot/efi/EFI/fedora/kernel.der - Skips kernels already signed with the local cert
- Does not keep
.unsignedbackups unless--keep-backupis used