tpmtool - Online Linux Manual PageSection : 1
Updated : 09 Feb 2023
Source : 3.8.0
Note : User Commands
NAME\f\*[B-Font]tpmtool\fP − GnuTLS TPM tool
SYNOPSIS\f\*[B-Font]tpmtool\fP [\f\*[B-Font]\-flags\f[]] [\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]] [\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]] .sp \n(Ppu All arguments must be options. .sp \n(Ppu
DESCRIPTIONProgram that allows handling cryptographic data from the TPM chip.
OPTIONS. it 1 an-trap \f\*[B-Font]\-d\f[] \f\*[I-Font]num\f[], \f\*[B-Font]\-\-debug\f[]=\f\*[I-Font]num\f[] \/ Enable debugging. This option takes an integer number as its argument. The value of \f\*[I-Font]num\f[] is constrained to being: in the range 0 through 9999Specifies the debug level. . it 1 an-trap \f\*[B-Font]\-\-infile\f[]=\f\*[I-Font]file\f[] \/ Input file. . it 1 an-trap \f\*[B-Font]\-\-outfile\f[]=\f\*[I-Font]str\f[] \/ Output file. . it 1 an-trap \f\*[B-Font]\-\-generate\-rsa\f[] \/ Generate an RSA private-public key pair. Generates an RSA private−public key pair in the TPM chip. The key may be stored in file system and protected by a PIN, or stored (registered) in the TPM chip flash. . it 1 an-trap \f\*[B-Font]\-\-register\f[] \/ Any generated key will be registered in the TPM. This option must appear in combination with the following options: generate-rsa. . it 1 an-trap \f\*[B-Font]\-\-signing\f[] \/ Any generated key will be a signing key. This option must not appear in combination with any of the following options: legacy. This option must appear in combination with the following options: generate-rsa. . it 1 an-trap \f\*[B-Font]\-\-legacy\f[] \/ Any generated key will be a legacy key. This option must not appear in combination with any of the following options: signing. This option must appear in combination with the following options: generate-rsa. . it 1 an-trap \f\*[B-Font]\-\-user\f[] \/ Any registered key will be a user key. This option must not appear in combination with any of the following options: system. This option must appear in combination with the following options: register. The generated key will be stored in a user specific persistent storage. . it 1 an-trap \f\*[B-Font]\-\-system\f[] \/ Any registered key will be a system key. This option must not appear in combination with any of the following options: user. This option must appear in combination with the following options: register. The generated key will be stored in system persistent storage. . it 1 an-trap \f\*[B-Font]\-\-pubkey\f[]=\f\*[I-Font]url\f[] \/ Prints the public key of the provided key. . it 1 an-trap \f\*[B-Font]\-\-list\f[] \/ Lists all stored keys in the TPM. . it 1 an-trap \f\*[B-Font]\-\-delete\f[]=\f\*[I-Font]url\f[] \/ Delete the key identified by the given URL (UUID). . it 1 an-trap \f\*[B-Font]\-\-test\-sign\f[]=\f\*[I-Font]url\f[] \/ Tests the signature operation of the provided object. It can be used to test the correct operation of the signature operation. This operation will sign and verify the signed data. . it 1 an-trap \f\*[B-Font]\-\-sec\-param\f[]=\f\*[I-Font]security parameter\f[] \/ Specify the security level [low, legacy, medium, high, ultra]. This is alternative to the bits option. Note however that the values allowed by the TPM chip are quantized and given values may be rounded up. . it 1 an-trap \f\*[B-Font]\-\-bits\f[]=\f\*[I-Font]num\f[] \/ Specify the number of bits for key generate. This option takes an integer number as its argument. . it 1 an-trap \f\*[B-Font]\-\-inder\f[], \f\*[B-Font]\-\-no\-inder\f[] \/ Use the DER format for keys. The no−inder form will disable the option. The input files will be assumed to be in the portable DER format of TPM. The default format is a custom format used by various TPM tools . it 1 an-trap \f\*[B-Font]\-\-outder\f[], \f\*[B-Font]\-\-no\-outder\f[] \/ Use DER format for output keys. The no−outder form will disable the option. The output will be in the TPM portable DER format. . it 1 an-trap \f\*[B-Font]\-\-srk\-well\-known\f[] \/ SRK has well known password (20 bytes of zeros). . it 1 an-trap \f\*[B-Font]\-v\f[] \f\*[I-Font]arg\f[], \f\*[B-Font]\-\-version\f[]=\f\*[I-Font]arg\f[] \/ Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright information and `n' will print the full copyright notice. . it 1 an-trap \f\*[B-Font]\-h\f[], \f\*[B-Font]\-\-help\f[] \/ Display usage information and exit. . it 1 an-trap \f\*[B-Font]\-!\f[], \f\*[B-Font]\-\-more\-help\f[] \/ Pass the extended usage information through a pager.
EXAMPLESTo generate a key that is to be stored in file system use:
$ tpmtool −−generate−rsa −−bits 2048 −−outfile tpmkey.pem
To generate a key that is to be stored in TPM's flash use:
$ tpmtool −−generate−rsa −−bits 2048 −−register −−user
To get the public key of a TPM key use:
$ tpmtool −−pubkey tpmkey:uuid=58ad734b−bde6−45c7−89d8−756a55ad1891;storage=user −−outfile pubkey.pem
or if the key is stored in the file system:
$ tpmtool −−pubkey tpmkey:file=tmpkey.pem −−outfile pubkey.pem
To list all keys stored in TPM use:
$ tpmtool −−list
EXIT STATUSOne of the following exit values will be returned: . it 1 an-trap 0 (EXIT_SUCCESS) Successful program execution. . it 1 an-trap 1 (EXIT_FAILURE) The operation failed or the command syntax was not valid.
SEE ALSOp11tool (1), certtool (1)
AUTHORS
COPYRIGHTCopyright (C) 2020-2021 Free Software Foundation, and others all rights reserved. This program is released under the terms of the GNU General Public License, version 3 or later
BUGSPlease send bug reports to: bugs@gnutls.org 0
Johanes Gumabo
Data Size : 20,722 byte
man-tpmtool.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 189,979
Visitor ID : :
Visitor IP : 3.22.75.247 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence|91|tpmtool.1|15|\f\*[B-Font]tpmtool\fP |\f\*[B-Font]tpmtool\fP
) (rof_escape_sequence|91|tpmtool.1|18|\f\*[B-Font]tpmtool\fP |\f\*[B-Font]tpmtool\fP
) (rof_escape_sequence|91|tpmtool.1|20|\f\*[B-Font]\-flags\f[]] |[\f\*[B-Font]\-flags\f[]]
) (rof_escape_sequence|91|tpmtool.1|21|\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]] |[\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
) (rof_escape_sequence|91|tpmtool.1|22|\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]] |[\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
) (rof_nr_xx|137|tpmtool.1|23|\n(Ppu |.sp \n(Ppu
) (rof_unit_scale_px|41|tpmtool.1|23|pu|.sp \n(Ppu
) (rof_sp|15|tpmtool.1|23|\n(Ppu|.sp \n(Ppu
) (rof_nr_xx|137|tpmtool.1|27|\n(Ppu |.sp \n(Ppu
) (rof_unit_scale_px|41|tpmtool.1|27|pu|.sp \n(Ppu
) (rof_sp|15|tpmtool.1|27|\n(Ppu|.sp \n(Ppu
) (rof_escape_sequence|91|tpmtool.1|34|\f\*[B-Font]\-d\f[] \f\*[I-Font]num\f[], \f\*[B-Font]\-\-debug\f[]=\f\*[I-Font]num\f[] |.NOP \f\*[B-Font]\-d\f[] \f\*[I-Font]num\f[], \f\*[B-Font]\-\-debug\f[]=\f\*[I-Font]num\f[]
) (parse_manual_page_|249|tpmtool.1|34/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|34/3|\f\*[B-Font]\-d\f[] \f\*[I-Font]num\f[], \f\*[B-Font]\-\-debug\f[]=\f\*[I-Font]num\f[] \/ |\,\f\*[B-Font]\-d\f[] \f\*[I-Font]num\f[], \f\*[B-Font]\-\-debug\f[]=\f\*[I-Font]num\f[] \/
) (rof_escape_sequence|91|tpmtool.1|38|\f\*[I-Font]num\f[] |\f\*[I-Font]num\f[]
) (rof_escape_sequence|91|tpmtool.1|49|\f\*[B-Font]\-\-infile\f[]=\f\*[I-Font]file\f[] |.NOP \f\*[B-Font]\-\-infile\f[]=\f\*[I-Font]file\f[]
) (parse_manual_page_|249|tpmtool.1|49/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|49/3|\f\*[B-Font]\-\-infile\f[]=\f\*[I-Font]file\f[] \/ |\,\f\*[B-Font]\-\-infile\f[]=\f\*[I-Font]file\f[] \/
) (rof_escape_sequence|91|tpmtool.1|53|\f\*[B-Font]\-\-outfile\f[]=\f\*[I-Font]str\f[] |.NOP \f\*[B-Font]\-\-outfile\f[]=\f\*[I-Font]str\f[]
) (parse_manual_page_|249|tpmtool.1|53/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|53/3|\f\*[B-Font]\-\-outfile\f[]=\f\*[I-Font]str\f[] \/ |\,\f\*[B-Font]\-\-outfile\f[]=\f\*[I-Font]str\f[] \/
) (rof_escape_sequence|91|tpmtool.1|57|\f\*[B-Font]\-\-generate\-rsa\f[] |.NOP \f\*[B-Font]\-\-generate\-rsa\f[]
) (parse_manual_page_|249|tpmtool.1|57/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|57/3|\f\*[B-Font]\-\-generate\-rsa\f[] \/ |\,\f\*[B-Font]\-\-generate\-rsa\f[] \/
) (rof_escape_sequence|91|tpmtool.1|64|\f\*[B-Font]\-\-register\f[] |.NOP \f\*[B-Font]\-\-register\f[]
) (parse_manual_page_|249|tpmtool.1|64/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|64/3|\f\*[B-Font]\-\-register\f[] \/ |\,\f\*[B-Font]\-\-register\f[] \/
) (rof_escape_sequence|91|tpmtool.1|70|\f\*[B-Font]\-\-signing\f[] |.NOP \f\*[B-Font]\-\-signing\f[]
) (parse_manual_page_|249|tpmtool.1|70/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|70/3|\f\*[B-Font]\-\-signing\f[] \/ |\,\f\*[B-Font]\-\-signing\f[] \/
) (rof_escape_sequence|91|tpmtool.1|78|\f\*[B-Font]\-\-legacy\f[] |.NOP \f\*[B-Font]\-\-legacy\f[]
) (parse_manual_page_|249|tpmtool.1|78/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|78/3|\f\*[B-Font]\-\-legacy\f[] \/ |\,\f\*[B-Font]\-\-legacy\f[] \/
) (rof_escape_sequence|91|tpmtool.1|86|\f\*[B-Font]\-\-user\f[] |.NOP \f\*[B-Font]\-\-user\f[]
) (parse_manual_page_|249|tpmtool.1|86/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|86/3|\f\*[B-Font]\-\-user\f[] \/ |\,\f\*[B-Font]\-\-user\f[] \/
) (rof_escape_sequence|91|tpmtool.1|95|\f\*[B-Font]\-\-system\f[] |.NOP \f\*[B-Font]\-\-system\f[]
) (parse_manual_page_|249|tpmtool.1|95/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|95/3|\f\*[B-Font]\-\-system\f[] \/ |\,\f\*[B-Font]\-\-system\f[] \/
) (rof_escape_sequence|91|tpmtool.1|104|\f\*[B-Font]\-\-pubkey\f[]=\f\*[I-Font]url\f[] |.NOP \f\*[B-Font]\-\-pubkey\f[]=\f\*[I-Font]url\f[]
) (parse_manual_page_|249|tpmtool.1|104/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|104/3|\f\*[B-Font]\-\-pubkey\f[]=\f\*[I-Font]url\f[] \/ |\,\f\*[B-Font]\-\-pubkey\f[]=\f\*[I-Font]url\f[] \/
) (rof_escape_sequence|91|tpmtool.1|108|\f\*[B-Font]\-\-list\f[] |.NOP \f\*[B-Font]\-\-list\f[]
) (parse_manual_page_|249|tpmtool.1|108/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|108/3|\f\*[B-Font]\-\-list\f[] \/ |\,\f\*[B-Font]\-\-list\f[] \/
) (rof_escape_sequence|91|tpmtool.1|112|\f\*[B-Font]\-\-delete\f[]=\f\*[I-Font]url\f[] |.NOP \f\*[B-Font]\-\-delete\f[]=\f\*[I-Font]url\f[]
) (parse_manual_page_|249|tpmtool.1|112/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|112/3|\f\*[B-Font]\-\-delete\f[]=\f\*[I-Font]url\f[] \/ |\,\f\*[B-Font]\-\-delete\f[]=\f\*[I-Font]url\f[] \/
) (rof_escape_sequence|91|tpmtool.1|116|\f\*[B-Font]\-\-test\-sign\f[]=\f\*[I-Font]url\f[] |.NOP \f\*[B-Font]\-\-test\-sign\f[]=\f\*[I-Font]url\f[]
) (parse_manual_page_|249|tpmtool.1|116/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|116/3|\f\*[B-Font]\-\-test\-sign\f[]=\f\*[I-Font]url\f[] \/ |\,\f\*[B-Font]\-\-test\-sign\f[]=\f\*[I-Font]url\f[] \/
) (rof_escape_sequence|91|tpmtool.1|122|\f\*[B-Font]\-\-sec\-param\f[]=\f\*[I-Font]security parameter\f[] |.NOP \f\*[B-Font]\-\-sec\-param\f[]=\f\*[I-Font]security parameter\f[]
) (parse_manual_page_|249|tpmtool.1|122/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|122/3|\f\*[B-Font]\-\-sec\-param\f[]=\f\*[I-Font]security parameter\f[] \/ |\,\f\*[B-Font]\-\-sec\-param\f[]=\f\*[I-Font]security parameter\f[] \/
) (rof_escape_sequence|91|tpmtool.1|128|\f\*[B-Font]\-\-bits\f[]=\f\*[I-Font]num\f[] |.NOP \f\*[B-Font]\-\-bits\f[]=\f\*[I-Font]num\f[]
) (parse_manual_page_|249|tpmtool.1|128/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|128/3|\f\*[B-Font]\-\-bits\f[]=\f\*[I-Font]num\f[] \/ |\,\f\*[B-Font]\-\-bits\f[]=\f\*[I-Font]num\f[] \/
) (rof_escape_sequence|91|tpmtool.1|133|\f\*[B-Font]\-\-inder\f[], \f\*[B-Font]\-\-no\-inder\f[] |.NOP \f\*[B-Font]\-\-inder\f[], \f\*[B-Font]\-\-no\-inder\f[]
) (parse_manual_page_|249|tpmtool.1|133/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|133/3|\f\*[B-Font]\-\-inder\f[], \f\*[B-Font]\-\-no\-inder\f[] \/ |\,\f\*[B-Font]\-\-inder\f[], \f\*[B-Font]\-\-no\-inder\f[] \/
) (rof_escape_sequence|91|tpmtool.1|141|\f\*[B-Font]\-\-outder\f[], \f\*[B-Font]\-\-no\-outder\f[] |.NOP \f\*[B-Font]\-\-outder\f[], \f\*[B-Font]\-\-no\-outder\f[]
) (parse_manual_page_|249|tpmtool.1|141/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|141/3|\f\*[B-Font]\-\-outder\f[], \f\*[B-Font]\-\-no\-outder\f[] \/ |\,\f\*[B-Font]\-\-outder\f[], \f\*[B-Font]\-\-no\-outder\f[] \/
) (rof_escape_sequence|91|tpmtool.1|147|\f\*[B-Font]\-\-srk\-well\-known\f[] |.NOP \f\*[B-Font]\-\-srk\-well\-known\f[]
) (parse_manual_page_|249|tpmtool.1|147/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|147/3|\f\*[B-Font]\-\-srk\-well\-known\f[] \/ |\,\f\*[B-Font]\-\-srk\-well\-known\f[] \/
) (rof_escape_sequence|91|tpmtool.1|151|\f\*[B-Font]\-v\f[] \f\*[I-Font]arg\f[], \f\*[B-Font]\-\-version\f[]=\f\*[I-Font]arg\f[] |.NOP \f\*[B-Font]\-v\f[] \f\*[I-Font]arg\f[], \f\*[B-Font]\-\-version\f[]=\f\*[I-Font]arg\f[]
) (parse_manual_page_|249|tpmtool.1|151/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|151/3|\f\*[B-Font]\-v\f[] \f\*[I-Font]arg\f[], \f\*[B-Font]\-\-version\f[]=\f\*[I-Font]arg\f[] \/ |\,\f\*[B-Font]\-v\f[] \f\*[I-Font]arg\f[], \f\*[B-Font]\-\-version\f[]=\f\*[I-Font]arg\f[] \/
) (rof_escape_sequence|91|tpmtool.1|156|\f\*[B-Font]\-h\f[], \f\*[B-Font]\-\-help\f[] |.NOP \f\*[B-Font]\-h\f[], \f\*[B-Font]\-\-help\f[]
) (parse_manual_page_|249|tpmtool.1|156/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|156/3|\f\*[B-Font]\-h\f[], \f\*[B-Font]\-\-help\f[] \/ |\,\f\*[B-Font]\-h\f[], \f\*[B-Font]\-\-help\f[] \/
) (rof_escape_sequence|91|tpmtool.1|159|\f\*[B-Font]\-!\f[], \f\*[B-Font]\-\-more\-help\f[] |.NOP \f\*[B-Font]\-!\f[], \f\*[B-Font]\-\-more\-help\f[]
) (parse_manual_page_|249|tpmtool.1|159/2|it|. it 1 an-trap
) (rof_escape_sequence|91|tpmtool.1|159/3|\f\*[B-Font]\-!\f[], \f\*[B-Font]\-\-more\-help\f[] \/ |\,\f\*[B-Font]\-!\f[], \f\*[B-Font]\-\-more\-help\f[] \/
) (parse_manual_page_|249|tpmtool.1|207/2|it|. it 1 an-trap
) (parse_manual_page_|249|tpmtool.1|210/2|it|. it 1 an-trap
)