.Dd October 15, 2021 .ds doc-volume-operating-system .Dt ZFS-TPM2-LOAD-KEY 8 .Os tzpfms 0.1-5 . .Sh NAME .Nm zfs-tpm2-load-key .Nd load tzpfms TPM2-encrypted ZFS dataset key .Sh SYNOPSIS .Nm .Op Fl n .Ar dataset . .Sh DESCRIPTION After verifying .Ar dataset was encrypted with .Nm tzpfms backend .Sy TPM2 , unseals the key and loads it into .Ar dataset . .Pp See .Xr zfs-tpm2-change-key 8 for a detailed description. . .Sh OPTIONS .Bl -tag -compact -width "-n" .It Fl n Do a no-op/dry run, can be used even if the key is already loaded. Equivalent to .Nm zfs Cm load-key Ns 's .Fl n option. .El . .Sh TPM1.X back-end configuration .Ss TPM selection The .Nm tzpfms suite connects to a local .Xr tcsd 8 process .Pq at Pa localhost:30003 by default. Use the environment variable .Ev TZPFMS_TPM1X to specify a remote TCS hostname. .Pp The TrouSerS .Xr tcsd 8 daemon will try .Pa /dev/tpm0 , then .Pa /udev/tpm0 , then .Pa /dev/tpm ; by occupying one of the earlier ones with, for example, shell redirection, a later one can be selected. . .Ss See also The TrouSerS project page at .Lk https:/\&/sourceforge.net/projects/trousers . .Pp The TPM 1.2 main specification index at .Lk https:/\&/trustedcomputinggroup.org/resource/tpm-main-specification . . .Sh SPECIAL THANKS To all who support further development, in particular: .Bl -bullet -offset 4n -compact -width 0 .It ThePhD .It Embark Studios .El . .Sh REPORTING BUGS .Lk https:/\&/todo.sr.ht/~nabijaczleweli/tzpfms .Pp .Mt ~nabijaczleweli/tzpfms@lists.sr.ht , archived at .Lk https:/\&/lists.sr.ht/~nabijaczleweli/tzpfms . . .Sh SEE ALSO .Lk https:/\&/git.sr.ht/~nabijaczleweli/tzpfms