1tss2_verifysignature(1) General Commands Manual tss2_verifysignature(1)
2
3
4
6 tss2_verifysignature(1) -
7
9 tss2_verifysignature [OPTIONS]
10
12 tss2_verifysignature(1) - This command verifies a signature using a
13 public key found in the passed key path. The used signature verifica‐
14 tion scheme is specified in the cryptographic profile (cf., fapi-pro‐
15 file(5)).
16
18 These are the available options:
19
20 • -d, --digest=FILENAME or - (for stdin):
21
22 The data that was signed, already hashed according to the crypto‐
23 graphic profile (cf., fapi-profile(5)).
24
25 • -p, --keyPath=STRING:
26
27 Path to the verification public key.
28
29 • -i, --signature=FILENAME or - (for stdin):
30
31 The signature to be verified.
32
34 This collection of options are common to all tss2 programs and provide
35 information that many users may expect.
36
37 • -h, --help [man|no-man]: Display the tools manpage. By default, it
38 attempts to invoke the manpager for the tool, however, on failure
39 will output a short tool summary. This is the same behavior if the
40 “man” option argument is specified, however if explicit “man” is re‐
41 quested, the tool will provide errors from man on stderr. If the
42 “no-man” option if specified, or the manpager fails, the short op‐
43 tions will be output to stdout.
44
45 To successfully use the manpages feature requires the manpages to be
46 installed or on MANPATH, See man(1) for more details.
47
48 • -v, --version: Display version information for this tool, supported
49 tctis and exit.
50
52 tss2_verifysignature --keyPath=ext/myRSASign --digest=digest.file --signature=signature.file
53
55 0 on success or 1 on failure.
56
58 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
59
61 See the Mailing List (https://lists.linuxfoundation.org/mailman/listin‐
62 fo/tpm2)
63
64
65
66tpm2-tools APRIL 2019 tss2_verifysignature(1)