So, I've installed Manjaro quite while ago, and I let secure boot disabled during installation. Dang! Is there a way to keep (most of) my system and enable secure boot and LUKS after the fact?
It depends on a single variable - does your motherboard support manipulating the secure boot keys? I've only done it on prebuilt dells and dell laptops, but some other manufacturers also allow it.
The procedure is very simple, but has many steps. Don't get discouraged! I remember ArchWiki having a very thorough guide that worked for me.
The gist of it is you provide UEFI firmware the cert to trust and then use the keys to sign your kernel image. I've never had to deal with signing the modules (mostly nVidia related, I think), but the procedure would be the same.
I think, I can install keys in my AMI bios. So, basically, I'd create some keys, sign the kernel with it, reboot, install them keys in UEFI, enable secure boot, and, fingers crossed, I'd boot?
You might have to enable Audit mode or similar - again, depends on the manufacturer - to generate the keys. But yes, essentially that's the gist of it.
iirc Secure Boot requires the kernel to be signed with some payment given to (I think) Microsoft to do it. I believe Canonical / Ubuntu are one of the few to do this.
So no, Manjaro as far I am currently aware, doesn’t support secure boot (or secure boot doesn’t support Manjaro)
You can, and for Linux generally have to, manage your own secure boot keys and signing your own kernal, united, modules, etc. Conacal and Red Hat have signing keys iirc, but distributions can and do get the shim boot loader signed so secure boot works. The arch wiki has a page on how to setup secure boot . Many distros installers do end up signed as well so you can go through the full install process with secure boot enabled.