tss2_list.1 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_list" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_list\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_list\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_list\f[](1) \- This command enumerates all objects in the FAPI
  24. metadata store in a given a path.
  25. .SH OPTIONS
  26. .PP
  27. These are the available options:
  28. .IP \[bu] 2
  29. \f[B]\-f\f[], \f[B]\-\-force\f[]:
  30. .RS 2
  31. .PP
  32. Force overwriting the output file.
  33. .RE
  34. .IP \[bu] 2
  35. \f[B]\-p\f[], \f[B]\-\-searchPath\f[]=\f[I]STRING\f[]:
  36. .RS 2
  37. .PP
  38. The path identifying the root of the search.
  39. Optional parameter.
  40. If omitted, all entities will be searched.
  41. .RE
  42. .IP \[bu] 2
  43. \f[B]\-o\f[], \f[B]\-\-pathList\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[]
  44. (for stdout):
  45. .RS 2
  46. .PP
  47. Returns the colon\-separated list of paths.
  48. Optional parameter.
  49. If omitted, results will be printed to \f[I]\-\f[] (stdout).
  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 EXAMPLES
  74. .SS List all entities and print results to stdout
  75. .IP
  76. .nf
  77. \f[C]
  78. tss2_list
  79. \f[]
  80. .fi
  81. .SS List all entities under the HS path and print results to file
  82. .IP
  83. .nf
  84. \f[C]
  85. tss2_list\ \-\-searchPath=HS\ \-\-pathList=output.file
  86. \f[]
  87. .fi
  88. .SH RETURNS
  89. .PP
  90. 0 on success or 1 on failure.
  91. .SH BUGS
  92. .PP
  93. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  94. .SH HELP
  95. .PP
  96. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)