Open fneddy opened 4 years ago
I think it should be relatively easy to add support for this, yes. Check out the code.
You'll need to wire a new parameter for the ZFS encryption password all the way through the part where we create or import the pool.
You'll need to enhance the existing code to parse the password prompt presented to you by systemd during boot.
Note that pools created with a password should not be used in more than one system, because the private key would then be the same across all your systems where you reuse the image.
Fedora on ZFS guide on OpenZFS-Docs website supports native encryption.
since v0.8 zfsonlinux supports native zfs encryption.
is it easily possible to add support for this?