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

NAME

6       tss2_decrypt(1) - decrypts data
7

SYNOPSIS

9       tss2_decrypt [OPTIONS]
10

DESCRIPTION

12       tss2_decrypt(1)  -  This command decrypts data that was encrypted using
13       tss2_encrypt.
14

OPTIONS

16       These are the available options:
17
18       · -p, --keyPath STRING:
19
20         Identifies the decryption key.
21
22       · -i, --cipherText FILENAME or - (for stdin):
23
24         The JSON-encoded cipherText.
25
26       · -f, --force:
27
28         Force Overwriting the output file.
29
30       · -o, --plainText FILENAME or - (for stdout):
31
32         Returns the decrypted data.  Optional parameter.
33

COMMON OPTIONS

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

EXAMPLE

53                  tss2_decrypt --keyPath HS/SRK/myRSACrypt --cipherText cipherText.file --plainText plainText.file
54

RETURNS

56       0 on success or 1 on failure.
57

BUGS

59       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
60

HELP

62       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
63
64
65
66tpm2-tools                        APRIL 2019                   tss2_decrypt(1)
Impressum