In fedora when secureboot is enabled , kernel_lockdown is automatically enabled , the problem is it restrict hibernation to only encrypted swap, my swapfile is encrypted because my whole system is luks encrypted , the only guides i did find is using an encrypted swap PARTITION , any solution for this ?
I am not sure this covers all your requirements, but may bet you started Update on hibernation in Fedora Workstation - Fedora Magazine
AFAIK it needs to be either an encrypted partition or an LVM volume. Alternatively, you can just disable Secure Boot in the BIOS; it’s somewhat pointless anyway unless you have properly configured and signed everything, which is a lot of work currently.
i did signed every thing , i just used sbctl tool from the copr repo wich automate bouth generating & enrolling keys.
why i cant use a swap file that resides on my encrypted filesystem ? its all encrypted
i already read it , there is nothing about why lockdown still disallow hibernating to swapfile even though it resides on an encrypted filesyste
it works with lvm volumes , swap paritions when encrypted, but not swapfiles for some reason