% tss2_writeauthorizenv(1) tpm2-tools | General Commands Manual % % APRIL 2019
tss2_writeauthorizenv(1) -
tss2_writeauthorizenv [OPTIONS]
tss2_writeauthorizenv(1) - This command writes the digest value of a policy to an NV index such that this policy can be used in other policies containing a corresponding PolicyAuthorizeNv element.
These are the available options:
-
-p, --nvPath=STRING:
The path of the NV index.
-
-P, --policyPath=STRING:
The path of the new policy.
tss2_writeauthorizenv --nvPath=/nv/Owner/myNV --policyPath=/policy/pcr-policy
0 on success or 1 on failure.