tss2_pcrextend.1 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_pcrextend" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_pcrextend\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_pcrextend\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_pcrextend\f[](1) \- This command extends the data into the PCR
  24. listed.
  25. The parameter logData is extended into the PCR log.
  26. If the logData is NULL, only the PCR extend takes place.
  27. All PCRs currently active in the TPM are extended.
  28. .SH OPTIONS
  29. .PP
  30. These are the available options:
  31. .IP \[bu] 2
  32. \f[B]\-x\f[], \f[B]\-\-pcr\f[]=\f[I]INTEGER\f[]:
  33. .PP
  34. The PCR to extend.
  35. .IP \[bu] 2
  36. \f[B]\-i\f[], \f[B]\-\-data\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[] (for
  37. stdin):
  38. .RS 2
  39. .PP
  40. The event data to be extended.
  41. .RE
  42. .IP \[bu] 2
  43. \f[B]\-l\f[], \f[B]\-\-logData\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[] (for
  44. stdin):
  45. .RS 2
  46. .PP
  47. Contains a JSON representation of data to be written to the PCR\[aq]s
  48. event log.
  49. Optional parameter.
  50. .RE
  51. .SH COMMON OPTIONS
  52. .PP
  53. This collection of options are common to all tss2 programs and provide
  54. information that many users may expect.
  55. .IP \[bu] 2
  56. \f[B]\-h\f[], \f[B]\-\-help [man|no\-man]\f[]: Display the tools
  57. manpage.
  58. By default, it attempts to invoke the manpager for the tool, however, on
  59. failure will output a short tool summary.
  60. This is the same behavior if the "man" option argument is specified,
  61. however if explicit "man" is requested, the tool will provide errors
  62. from man on stderr.
  63. If the "no\-man" option if specified, or the manpager fails, the short
  64. options will be output to stdout.
  65. .RS 2
  66. .PP
  67. To successfully use the manpages feature requires the manpages to be
  68. installed or on \f[I]MANPATH\f[], See \f[B]man\f[](1) for more details.
  69. .RE
  70. .IP \[bu] 2
  71. \f[B]\-v\f[], \f[B]\-\-version\f[]: Display version information for this
  72. tool, supported tctis and exit.
  73. .SH EXAMPLE
  74. .IP
  75. .nf
  76. \f[C]
  77. tss2_pcrextend\ \-\-pcr=16\ \-\-data=data.file\ \-\-logData=logData.file
  78. \f[]
  79. .fi
  80. .SH RETURNS
  81. .PP
  82. 0 on success or 1 on failure.
  83. .SH BUGS
  84. .PP
  85. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  86. .SH HELP
  87. .PP
  88. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)