Caveats: must build ZFS from the github source.
The guide linked below is a bit old. Where it says -o keysource you want -o keyformat. And then when you want to import a pool that's encrypted with a passphrase for example you want zfs load-key <dataset>
How-To: Using ZFS Encryption at Rest in OpenZFS (ZFS on Linux, ZFS on FreeBSD, ...) - Philipp's Tech Blog
Really cool. I built it on the latest stable kernel and the source from github and got it all to work.
The guide linked below is a bit old. Where it says -o keysource you want -o keyformat. And then when you want to import a pool that's encrypted with a passphrase for example you want zfs load-key <dataset>
How-To: Using ZFS Encryption at Rest in OpenZFS (ZFS on Linux, ZFS on FreeBSD, ...) - Philipp's Tech Blog
Really cool. I built it on the latest stable kernel and the source from github and got it all to work.