1tss2_exportkey(1)           General Commands Manual          tss2_exportkey(1)
2
3
4

NAME

6       tss2_exportkey(1) -
7

SYNOPSIS

9       tss2_exportkey [OPTIONS]
10

DESCRIPTION

12       tss2_exportkey(1)  -  This  command will duplicate a key and encrypt it
13       using the public key of a new parent.  The exported data  will  contain
14       the  re-wrapped key pointed to by the pathOfKeyToDuplicate and then the
15       JSON encoded policy.
16

OPTIONS

18       These are the available options:
19
20       · -e --pathToPublicKeyOfNewParent STRING:
21
22         The path to the public key of the new parent.  This key MAY be in the
23         public  key hierarchy /ext.  Optional parameter.  If omitted only the
24         public key will exported.
25
26       · -f, --force:
27
28         Force overwriting the output file.
29
30       · -o, --exportedData FILENAME or - (for stdout):
31
32         Returns the exported subtree.
33
34       · -p, --pathOfKeyToDuplicate STRING:
35
36         The path to the root of the subtree to export.
37

COMMON OPTIONS

39       This collection of options are common to all tss2 programs and  provide
40       information that many users may expect.
41
42       · -h,  --help  [man|no-man]: Display the tools manpage.  By default, it
43         attempts to invoke the manpager for the  tool,  however,  on  failure
44         will  output  a short tool summary.  This is the same behavior if the
45         “man” option argument is specified, however if explicit “man” is  re‐
46         quested,  the  tool  will  provide errors from man on stderr.  If the
47         “no-man” option if specified, or the manpager fails,  the  short  op‐
48         tions will be output to stdout.
49
50         To  successfully use the manpages feature requires the manpages to be
51         installed or on MANPATH, See man(1) for more details.
52
53       · -v, --version: Display version information for this  tool,  supported
54         tctis and exit.
55

EXAMPLE

57              tss2_exportkey --pathOfKeyToDuplicate HS/SRK/myRSADecrypt --exportedData exportedData.file
58

RETURNS

60       0 on success or 1 on failure.
61

BUGS

63       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
64

HELP

66       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
67
68
69
70tpm2-tools                        APRIL 2019                 tss2_exportkey(1)
Impressum