I've played around with this for quite some time and wanted to
get some more
eyes on this code. I've created a draft PR with "ZFS on Linux", asking for
discussion of methodology. Likely, the people on this list can speak to the
utilization of TPM2-tools and help with the security aspects more than the
filesystems focused developers there.
Please have a look and submit comments here or the PR itself.