I really messed up.

I dual booted arch with windows, with secure boot disabled.

Now the curious person in me wanted to enable secure boot within arch and tried using sbctl.

So I went in bios, reset my secure boot keys to setup mode. Used sbctl to generate and enroll keys.

Myself being an idiot, I didn’t sign the kernal nor the grub efi files.

Did a reboot and viola… Nothing can boot with secure boot on.

Now I can’t delete any secure boot keys nor modify them. When trying agint to get into setup mode, it’s saying that the secure boot variables are locked down and try again after a reboot.

If it helps, I have backed up the previous secure boot keys before altering the settings.

I don’t mind reinstalling OS, as I don’t have any important data on my disks.