tss2_verifysignature.1 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .\" Automatically generated by Pandoc 1.19.2.4
  2. .\"
  3. .TH "tss2_verifysignature" "1" "APRIL 2019" "tpm2\-tools" "General Commands Manual"
  4. .hy
  5. .SH NAME
  6. .PP
  7. \f[B]tss2_verifysignature\f[](1) \-
  8. .SH SYNOPSIS
  9. .PP
  10. \f[B]tss2_verifysignature\f[] [\f[I]OPTIONS\f[]]
  11. .SH DESCRIPTION
  12. .PP
  13. \f[B]tss2_verifysignature\f[](1) \- This command verifies a signature
  14. using a public key found in the passed key path.
  15. The used signature verification scheme is specified in the cryptographic
  16. profile (cf., \f[B]fapi\-profile(5)\f[]).
  17. .SH OPTIONS
  18. .PP
  19. These are the available options:
  20. .IP \[bu] 2
  21. \f[B]\-d\f[], \f[B]\-\-digest\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[] (for
  22. stdin):
  23. .RS 2
  24. .PP
  25. The data that was signed, already hashed according to the cryptographic
  26. profile (cf., \f[B]fapi\-profile(5)\f[]).
  27. .RE
  28. .IP \[bu] 2
  29. \f[B]\-p\f[], \f[B]\-\-keyPath\f[]=\f[I]STRING\f[]:
  30. .RS 2
  31. .PP
  32. Path to the verification public key.
  33. .RE
  34. .IP \[bu] 2
  35. \f[B]\-i\f[], \f[B]\-\-signature\f[]=\f[I]FILENAME\f[] or \f[I]\-\f[]
  36. (for stdin):
  37. .RS 2
  38. .PP
  39. The signature to be verified.
  40. .RE
  41. .SH COMMON OPTIONS
  42. .PP
  43. This collection of options are common to all tss2 programs and provide
  44. information that many users may expect.
  45. .IP \[bu] 2
  46. \f[B]\-h\f[], \f[B]\-\-help [man|no\-man]\f[]: Display the tools
  47. manpage.
  48. By default, it attempts to invoke the manpager for the tool, however, on
  49. failure will output a short tool summary.
  50. This is the same behavior if the "man" option argument is specified,
  51. however if explicit "man" is requested, the tool will provide errors
  52. from man on stderr.
  53. If the "no\-man" option if specified, or the manpager fails, the short
  54. options will be output to stdout.
  55. .RS 2
  56. .PP
  57. To successfully use the manpages feature requires the manpages to be
  58. installed or on \f[I]MANPATH\f[], See \f[B]man\f[](1) for more details.
  59. .RE
  60. .IP \[bu] 2
  61. \f[B]\-v\f[], \f[B]\-\-version\f[]: Display version information for this
  62. tool, supported tctis and exit.
  63. .SH EXAMPLE
  64. .IP
  65. .nf
  66. \f[C]
  67. tss2_verifysignature\ \-\-keyPath=ext/myRSASign\ \-\-digest=digest.file\ \-\-signature=signature.file
  68. \f[]
  69. .fi
  70. .SH RETURNS
  71. .PP
  72. 0 on success or 1 on failure.
  73. .SH BUGS
  74. .PP
  75. Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
  76. .SH HELP
  77. .PP
  78. See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)