I am running my Home Assistant instance as a VM inside esxi on my home server. I want to know if there is a way that I can encrypt HA’s disk files without doing that on a hypervisor lvl, but rather directly on the OS.
I searched but I couldn’t find anything under the options, and I don’t think an addon should be taking care of this. Perhaps it can be achieved via luks?
Why is that? Also if your system hosting the virtual machine does have a encrypted drive then the haos disk file will essentially already be encrypted.
To encrypt a VM esxi requires vcenter license and a sh*tton of other requirements that are not realistic for home users. I am not aware if this is possible on proxmox without all the headaches, but if it is, I would gladly migrate over.
I also believe that an OS should be able to take care of itself when it comes to data integrity, availability and confidentiality.
Just enough operating system is a paradigm for customizing operating systems to fit the needs of a particular application such as for a software appliance. The platform only includes the operating system components required to support a particular application and any other third-party components contained in the appliance. This makes the appliance smaller, faster and potentially more secure than an application running under a full general-purpose OS. Just enough operating system - Wikipedia
If you have the need to have HA encrypted you can easily switch to one of the other 3 (supervisor, docker, python) supported installation methods which all depend on a full OS and should allow you all the shenanigans including full disk encryption.