mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-11 09:30:02 +03:00
39 lines
689 B
ObjectPascal
39 lines
689 B
ObjectPascal
.\" SPDX-License-Identifier: MIT
|
|
.
|
|
.Dd
|
|
.Dt ZFS-TPM1X-CLEAR-KEY 8
|
|
.Os
|
|
.
|
|
.Sh NAME
|
|
.Nm zfs-tpm1x-clear-key
|
|
.Nd rewrap ZFS dataset key in passsword and clear tzpfms TPM1.X metadata
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Ar dataset
|
|
.
|
|
.Sh DESCRIPTION
|
|
After verifying
|
|
.Ar dataset
|
|
was encrypted with the
|
|
.Nm tzpfms
|
|
.Sy TPM1.X
|
|
backend:
|
|
.Bl -enum -compact -offset 2n -width 2n
|
|
.It
|
|
performs the equivalent of
|
|
.Nm zfs Cm change-key Fl o Li keylocation=prompt Fl o Li keyformat=passphrase Ar dataset ,
|
|
.It
|
|
removes the
|
|
.Li xyz.nabijaczleweli:tzpfms.\& Ns Brq Li backend , key
|
|
properties from
|
|
.Ar dataset .
|
|
.El
|
|
.Pp
|
|
See
|
|
.Xr zfs-tpm1x-change-key 8
|
|
for a detailed description.
|
|
.
|
|
#include "backend-tpm1x.h"
|
|
.
|
|
#include "common.h"
|