mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-11 09:30:02 +03:00
47 lines
845 B
ObjectPascal
47 lines
845 B
ObjectPascal
.\" SPDX-License-Identifier: MIT
|
|
.
|
|
.Dd
|
|
.Dt ZFS-TPM1X-LOAD-KEY 8
|
|
.Os
|
|
.
|
|
.Sh NAME
|
|
.Nm zfs-tpm1x-load-key
|
|
.Nd load TPM1.X-encrypted ZFS dataset key
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl n
|
|
.Ar dataset
|
|
.
|
|
.Sh DESCRIPTION
|
|
After verifying
|
|
.Ar dataset
|
|
was encrypted with the
|
|
.Nm tzpfms
|
|
.Sy TPM1.X
|
|
backend,
|
|
unseals the key and load it into
|
|
.Ar dataset .
|
|
.Pp
|
|
The user is first prompted for the SRK passphrase, set when taking ownership, if not "well-known" (all zeroes);
|
|
then for the additional passphrase, set when creating the key, if one was set.
|
|
.Pp
|
|
See
|
|
.Xr zfs-tpm1x-change-key 8
|
|
for a detailed description.
|
|
.
|
|
.Sh OPTIONS
|
|
.Bl -tag -compact -width ".Fl 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
|
|
.
|
|
#include "passphrase.h"
|
|
.
|
|
#include "backend-tpm1x.h"
|
|
.
|
|
#include "common.h"
|