tss2_nvwrite.1 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_nvwrite" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_nvwrite\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_nvwrite\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_nvwrite\f[](1) \- This command writes data to a "regular" (not
  24. pin, extend or counter) NV index.
  25. Only the full index can be written, partial writes are not allowed.
  26. If the provided data is smaller than the NV index\[aq]s size, then it is
  27. padded up with zero bytes at the end.
  28. .SH OPTIONS
  29. .PP
  30. These are the available options:
  31. .IP \[bu] 2
  32. \f[B]\-i\f[], \f[B]\-\-data\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[] (for
  33. stdin):
  34. .RS 2
  35. .PP
  36. The data to write to the NV space.
  37. .RE
  38. .IP \[bu] 2
  39. \f[B]\-p\f[], \f[B]\-\-nvPath\f[]=\f[I]STRING\f[]:
  40. .RS 2
  41. .PP
  42. Identifies the NV space to write to.
  43. .RE
  44. .SH COMMON OPTIONS
  45. .PP
  46. This collection of options are common to all tss2 programs and provide
  47. information that many users may expect.
  48. .IP \[bu] 2
  49. \f[B]\-h\f[], \f[B]\-\-help [man|no\-man]\f[]: Display the tools
  50. manpage.
  51. By default, it attempts to invoke the manpager for the tool, however, on
  52. failure will output a short tool summary.
  53. This is the same behavior if the "man" option argument is specified,
  54. however if explicit "man" is requested, the tool will provide errors
  55. from man on stderr.
  56. If the "no\-man" option if specified, or the manpager fails, the short
  57. options will be output to stdout.
  58. .RS 2
  59. .PP
  60. To successfully use the manpages feature requires the manpages to be
  61. installed or on \f[I]MANPATH\f[], See \f[B]man\f[](1) for more details.
  62. .RE
  63. .IP \[bu] 2
  64. \f[B]\-v\f[], \f[B]\-\-version\f[]: Display version information for this
  65. tool, supported tctis and exit.
  66. .SH EXAMPLE
  67. .IP
  68. .nf
  69. \f[C]
  70. tss2_nvwrite\ \-\-nvPath=/nv/Owner/myNV\ \-\-data=data.file
  71. \f[]
  72. .fi
  73. .SH RETURNS
  74. .PP
  75. 0 on success or 1 on failure.
  76. .SH BUGS
  77. .PP
  78. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  79. .SH HELP
  80. .PP
  81. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)