📄 createkey.1
字号:
.\" Copyright 2004 IBM (Jeff Kravitz).\".\" Written Feb 24 2004, Jeff Kravitz.\".TH createkey 1 2004-04-07 "IBM" "TPM Utilities".SH NAMEcreatekey \- create a new TPM key.SH SYNOPSIScreatekey [options] <keyname> <parent key handle> .SH DESCRIPTIONThe \fBcreatekey\fP command will create and exporta new asymmetric key pair..SH ARGUMENTS.TP 5keynameIs the name that will be given to the files containing the new key.It should follow the usual POSIX file naming conventions. The fileextensions \fB.key\fP and \fB.pem\fP will be appended to the name specified..TP 5parent key handleis an 8-hex-digit number that specifies the TPM handle assigned to thekey that is the parent key for the key being created. It is either40000000 if the parent key is the Storage Root Key, or some other number,assigned by the TPM, and usually obtained from the \fBloadkey\fP utilitywhen the parent key was loaded into the TPM..SH OPTIONSThe following command line options are supported....TP 5 -twhich specifies the key type. The \fB-k\fP option must be followed by aletter which must be one of....RS 5.TP 5sfor signing,.TP 5e for encryption or parent key.TP 5b for binding.TP 5l for legacy.PIf the \fB-k\fP option is not used, a signing key will be created..RE.TP 5-k <keypass>specifies the new key usage password,which is any character string, up to 256 bytes long.It specifies the password needed to use the key being created.The actual "Authorization Data"passed to the TPM is the 20 byte SHA1 hash of the user-specified password.If omitted the new key will be createdwith a flag that indicates that no password is required for its use, and with adummy password value of binary zeros..TP 5-p <parpass>specifies the parent key password,which is any character string, up to 256 bytes long.It specifies the password needed to use the key that is parent to thekey being created.The actual "Authorization Data"passed to the TPM is the 20 byte SHA1 hash of the user-specified password.If omitted, it is assumed that the parentkey requires no password for its use..TP 5-m <migpass>to specify that the new key is migratable, and specifying the migration password,which is any character string, up to 256 bytes long.It specifies the password needed to migrate thekey being created.The actual "Authorization Data"passed to the TPM is the 20 byte SHA1 hash of the user-specified password.If omitted, the new key will be flagged as non-migrateable..SH FILESThe command will also create two disk files. One called <keyname>.pemis an OpenSSL PEM format public key, and contains the publickey portion of the new key. The other, called <keyname>.key, containsthe complete key object which can be loaded into the TPM using the\fBloadkey\fP utility..SH "SEE ALSO"loadkey(1).SH AUTHORJeff Kravitz , IBM T. J. Watson Research Center
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -