1tss2_gettpmblobs(1) General Commands Manual tss2_gettpmblobs(1)
2
3
4
6 tss2_gettpmblobs(1) -
7
9 tss2_gettpmblobs [OPTIONS]
10
12 fapi-config(5) to adjust Fapi parameters like the used cryptographic
13 profile and TCTI or directories for the Fapi metadata storages.
14
15 fapi-profile(5) to determine the cryptographic algorithms and parame‐
16 ters for all keys and operations of a specific TPM interaction like the
17 name hash algorithm, the asymmetric signature algorithm, scheme and pa‐
18 rameters and PCR bank selection.
19
21 tss2_gettpmblobs(1) - This command returns the public and private blobs
22 of an object, such that they could be loaded by a low-level API
23 (e.g. ESAPI). It also returns the policy associated with these blobs
24 in JSON format.
25
27 These are the available options:
28
29 • -f, --force:
30
31 Force overwriting the output file.
32
33 • -p, --path=STRING:
34
35 The path of the object for which the blobs will be returned.
36
37 • -u, --tpm2bPublic=FILENAME or - (for stdout):
38
39 The returned public area of the object as a marshalled TPM2B_PUBLIC.
40 Optional parameter.
41
42 • -r, --tpm2bPrivate=FILENAME or - (for stdout):
43
44 The returned private area of the object as a marshalled TPM2B_PRI‐
45 VATE. Optional parameter.
46
47 • -l, --policy=FILENAME or - (for stdout):
48
49 The returned policy associated with the object, encoded in JSON. Op‐
50 tional parameter.
51
53 This collection of options are common to all tss2 programs and provide
54 information that many users may expect.
55
56 • -h, --help [man|no-man]: Display the tools manpage. By default, it
57 attempts to invoke the manpager for the tool, however, on failure
58 will output a short tool summary. This is the same behavior if the
59 “man” option argument is specified, however if explicit “man” is re‐
60 quested, the tool will provide errors from man on stderr. If the
61 “no-man” option if specified, or the manpager fails, the short op‐
62 tions will be output to stdout.
63
64 To successfully use the manpages feature requires the manpages to be
65 installed or on MANPATH, See man(1) for more details.
66
67 • -v, --version: Display version information for this tool, supported
68 tctis and exit.
69
71 tss2_gettpmblobs --path=HS/SRK/myRSACrypt --tpm2bPublic=tpm2bPublic.file --tpm2bPrivate=tpm2bPrivate.file --policy=policy.file
72
74 0 on success or 1 on failure.
75
77 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
78
80 See the Mailing List (https://lists.linuxfoundation.org/mailman/listin‐
81 fo/tpm2)
82
83
84
85tpm2-tools APRIL 2019 tss2_gettpmblobs(1)