tss2_writeauthorizenv.1 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_writeauthorizenv" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_writeauthorizenv\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_writeauthorizenv\f[] [\f[I]OPTIONS\f[]]
  11. .SH DESCRIPTION
  12. .PP
  13. \f[B]tss2_writeauthorizenv\f[](1) \- This command writes the digest
  14. value of a policy to an NV index such that this policy can be used in
  15. other policies containing a corresponding PolicyAuthorizeNv element.
  16. .SH OPTIONS
  17. .PP
  18. These are the available options:
  19. .IP \[bu] 2
  20. \f[B]\-p\f[], \f[B]\-\-nvPath\f[]=\f[I]STRING\f[]:
  21. .RS 2
  22. .PP
  23. The path of the NV index.
  24. .RE
  25. .IP \[bu] 2
  26. \f[B]\-P\f[], \f[B]\-\-policyPath\f[]=\f[I]STRING\f[]:
  27. .RS 2
  28. .PP
  29. The path of the new policy.
  30. .RE
  31. .SH COMMON OPTIONS
  32. .PP
  33. This collection of options are common to all tss2 programs and provide
  34. information that many users may expect.
  35. .IP \[bu] 2
  36. \f[B]\-h\f[], \f[B]\-\-help [man|no\-man]\f[]: Display the tools
  37. manpage.
  38. By default, it attempts to invoke the manpager for the tool, however, on
  39. failure will output a short tool summary.
  40. This is the same behavior if the "man" option argument is specified,
  41. however if explicit "man" is requested, the tool will provide errors
  42. from man on stderr.
  43. If the "no\-man" option if specified, or the manpager fails, the short
  44. options will be output to stdout.
  45. .RS 2
  46. .PP
  47. To successfully use the manpages feature requires the manpages to be
  48. installed or on \f[I]MANPATH\f[], See \f[B]man\f[](1) for more details.
  49. .RE
  50. .IP \[bu] 2
  51. \f[B]\-v\f[], \f[B]\-\-version\f[]: Display version information for this
  52. tool, supported tctis and exit.
  53. .SH EXAMPLE
  54. .IP
  55. .nf
  56. \f[C]
  57. tss2_writeauthorizenv\ \-\-nvPath=/nv/Owner/myNV\ \-\-policyPath=/policy/pcr\-policy
  58. \f[]
  59. .fi
  60. .SH RETURNS
  61. .PP
  62. 0 on success or 1 on failure.
  63. .SH BUGS
  64. .PP
  65. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  66. .SH HELP
  67. .PP
  68. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)