Hello.
I've been trying to create a virtual disk image that I can encrypt with LUKS and then, be able to install any Linux distro in it!.
I've been reading through qemu-img man pages and they say that encryption with qemu is discouraged because there are several flaws with the encryption system.
Then, in Welcome to QEMU’s documentation! — QEMU 7.2.50 documentation site, I see something quite different. They actually have quite a few encryption options and say nothing about flawed encryption system.
Disk Images — QEMU 7.2.50 documentation
Providing secret data to QEMU — QEMU 7.2.50 documentation
So, I want to try to use LUKS and qemu to create a LUKS encrypted virtual disk where I can later use qemu to start this virt disk and install any Linux distro in it.
So, where do I start? Create a virtuala disk/container with LUKS, already encrypted and then, try to use qemu to put an OS in it? Or the other way around where I create the disk image with qemu tan then, somehow, I encrypt it wit LUKS?
).