tss2_authorizepolicy.1 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_authorizepolicy" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_authorizepolicy\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_authorizepolicy\f[] [\f[I]OPTIONS\f[]]
  11. .SH SEE ALSO
  12. .PP
  13. \f[B]fapi\-config(5)\f[] to adjust Fapi parameters like the used
  14. cryptographic profile and TCTI or directories for the Fapi metadata
  15. storages.
  16. .PP
  17. \f[B]fapi\-profile(5)\f[] to determine the cryptographic algorithms and
  18. parameters for all keys and operations of a specific TPM interaction
  19. like the name hash algorithm, the asymmetric signature algorithm, scheme
  20. and parameters and PCR bank selection.
  21. .SH DESCRIPTION
  22. .PP
  23. \f[B]tss2_authorizepolicy\f[](1) \- This command signs a given policy
  24. with a given key such that the policy can be referenced from other
  25. policies that contain a corresponding PolicyAuthorize elements.
  26. The signature is done using the TPM signing schemes as specified in the
  27. cryptographic profile (cf., \f[B]fapi\-profile(5)\f[]).
  28. .SH OPTIONS
  29. .PP
  30. These are the available options:
  31. .IP \[bu] 2
  32. \f[B]\-P\f[], \f[B]\-\-policyPath\f[]=\f[I]STRING\f[]: Path of the new
  33. policy.
  34. .RS 2
  35. .PP
  36. A policyPath is composed of two elements, separated by "/".
  37. A policyPath starts with "/policy".
  38. The second path element identifies the policy or policy template using a
  39. meaningful name.
  40. .RE
  41. .IP \[bu] 2
  42. \f[B]\-p\f[], \f[B]\-\-keyPath\f[]=\f[I]STRING\f[]: Path of the signing
  43. key.
  44. .IP \[bu] 2
  45. \f[B]\-r\f[], \f[B]\-\-policyRef\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[]
  46. (for stdin): A byte buffer to be included in the signature.
  47. Optional parameter.
  48. .SH COMMON OPTIONS
  49. .PP
  50. This collection of options are common to all tss2 programs and provide
  51. information that many users may expect.
  52. .IP \[bu] 2
  53. \f[B]\-h\f[], \f[B]\-\-help [man|no\-man]\f[]: Display the tools
  54. manpage.
  55. By default, it attempts to invoke the manpager for the tool, however, on
  56. failure will output a short tool summary.
  57. This is the same behavior if the "man" option argument is specified,
  58. however if explicit "man" is requested, the tool will provide errors
  59. from man on stderr.
  60. If the "no\-man" option if specified, or the manpager fails, the short
  61. options will be output to stdout.
  62. .RS 2
  63. .PP
  64. To successfully use the manpages feature requires the manpages to be
  65. installed or on \f[I]MANPATH\f[], See \f[B]man\f[](1) for more details.
  66. .RE
  67. .IP \[bu] 2
  68. \f[B]\-v\f[], \f[B]\-\-version\f[]: Display version information for this
  69. tool, supported tctis and exit.
  70. .SH EXAMPLE
  71. .IP
  72. .nf
  73. \f[C]
  74. tss2_authorizepolicy\ \-\-keyPath=HS/SRK/myPolicySignKey\ \-\-policyPath=/policy/pcr\-policy\ \-\-policyRef=policyRef.file
  75. \f[]
  76. .fi
  77. .SH RETURNS
  78. .PP
  79. 0 on success or 1 on failure.
  80. .SH BUGS
  81. .PP
  82. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  83. .SH HELP
  84. .PP
  85. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)