CREATE(1)

πŸ“¦
version 1045 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble, ubuntu questing

NAME πŸ’–

slay, bestie β€” this is the CREATE(1) manual page from User Commands. the command is create β€” Runs TPM2_Create. periodt. ✨


DESCRIPTION 🌸

okay so first thing's first: --version-string=v1045 is not a valid option. πŸ’€ noted, moving on.

create

Runs TPM2_Create

then the key-creation vibes start, and they are lowkey a lot. here's round one:

  • -hp β€” parent handle
    • [Asymmetric Key Algorithm]
    • -rsa (default) -ecc curve
  • bnp256
    • nistp256
    • nistp384

Key attributes

  • -bl β€” data blob for unseal (create only)
    • -if β€” data file name
    • -den β€” decryption, RSA, not storage, NULL scheme
    • -deo β€” decryption, RSA, not storage, OAEP scheme
    • -des β€” encryption/decryption, AES symmetric
    • [-116 for TPM rev 116 compatibility]
  • -st β€” storage
    • [default for primary keys]
    • -si β€” signing
    • -sir β€” restricted signing
    • -dau β€” create unrestricted ECDAA key pair
    • -dar β€” create restricted ECDAA key pair
    • -kh β€” keyed hash (hmac)
    • -dp β€” derivation parent
    • -gp β€” general purpose, not storage
  • -kt β€” can be specified more than once [-kt (can be specified more than once)]
    • f fixedTPM (default for primary keys and derivation parents)
    • p fixedParent (default for primary keys and derivation parents)
    • nf no fixedTPM (default for non-primary keys)
    • np no fixedParent (default for non-primary keys)
  • -da β€” object subject to DA protection) (default no) [-da object subject to DA protection) (default no)]
  • -pol β€” policy file (default empty) [-pol policy file (default empty)]
  • -uwa β€” userWithAuth attribute clear (default set) [-uwa userWithAuth attribute clear (default set)]
  • -nalg β€” name hash algorithm (sha1, sha256, sha384) (default sha256) [-nalg name hash algorithm (sha1, sha256, sha384) (default sha256)]
  • -halg β€” scheme hash algorithm (sha1, sha256, sha384) (default sha256) [-halg scheme hash algorithm (sha1, sha256, sha384) (default sha256)]
  • -pwdk β€” password for key (default empty) [-pwdk password for key (default empty)]
  • -pwdp β€” password for parent key (default empty) [-pwdp password for parent key (default empty)]
  • -opu β€” public key file name (default do not save) [-opu public key file name (default do not save)]
  • -opr β€” private key file name (default do not save) [-opr private key file name (default do not save)]
  • -opem β€” public key PEM format file name (default do not save) [-opem public key PEM format file name (default do not save)]
  • -tk β€” output ticket file name [-tk output ticket file name]
  • -ch β€” output creation hash file name [-ch output creation hash file name]
  • -se[0-2] β€” session handle / attributes (default PWAP)
    • 01 continue
    • 20 command decrypt
    • 40 response encrypt

then β€” and bestie I am not kidding β€” the manpage hits us with --version is not a valid option, and then it runs the whole create / Runs TPM2_Create / options thing again. so here is round two, exactly:

create

Runs TPM2_Create

  • -hp β€” parent handle
    • [Asymmetric Key Algorithm]
    • -rsa (default) -ecc curve
  • bnp256
    • nistp256
    • nistp384

Key attributes

  • -bl β€” data blob for unseal (create only)
    • -if β€” data file name
    • -den β€” decryption, RSA, not storage, NULL scheme
    • -deo β€” decryption, RSA, not storage, OAEP scheme
    • -des β€” encryption/decryption, AES symmetric
    • [-116 for TPM rev 116 compatibility]
  • -st β€” storage
    • [default for primary keys]
    • -si β€” signing
    • -sir β€” restricted signing
    • -dau β€” create unrestricted ECDAA key pair
    • -dar β€” create restricted ECDAA key pair
    • -kh β€” keyed hash (hmac)
    • -dp β€” derivation parent
    • -gp β€” general purpose, not storage
  • -kt β€” can be specified more than once [-kt (can be specified more than once)]
    • f fixedTPM (default for primary keys and derivation parents)
    • p fixedParent (default for primary keys and derivation parents)
    • nf no fixedTPM (default for non-primary keys)
    • np no fixedParent (default for non-primary keys)
  • -da β€” object subject to DA protection) (default no) [-da object subject to DA protection) (default no)]
  • -pol β€” policy file (default empty) [-pol policy file (default empty)]
  • -uwa β€” userWithAuth attribute clear (default set) [-uwa userWithAuth attribute clear (default set)]
  • -nalg β€” name hash algorithm (sha1, sha256, sha384) (default sha256) [-nalg name hash algorithm (sha1, sha256, sha384) (default sha256)]
  • -halg β€” scheme hash algorithm (sha1, sha256, sha384) (default sha256) [-halg scheme hash algorithm (sha1, sha256, sha384) (default sha256)]
  • -pwdk β€” password for key (default empty) [-pwdk password for key (default empty)]
  • -pwdp β€” password for parent key (default empty) [-pwdp password for parent key (default empty)]
  • -opu β€” public key file name (default do not save) [-opu public key file name (default do not save)]
  • -opr β€” private key file name (default do not save) [-opr private key file name (default do not save)]
  • -opem β€” public key PEM format file name (default do not save) [-opem public key PEM format file name (default do not save)]
  • -tk β€” output ticket file name [-tk output ticket file name]
  • -ch β€” output creation hash file name [-ch output creation hash file name]
  • -se[0-2] β€” session handle / attributes (default PWAP)
    • 01 continue
    • 20 command decrypt
    • 40 response encrypt

SEE ALSO πŸ¦‹

the full documentation for create is maintained as a Texinfo manual. if the info and create programs are properly installed at your site, the command

info create

should give you access to the complete manual. πŸ’–


and that's the whole CREATE(1) page, bestie. the footer/source/version is create, dated July 2017, manual name CREATE(1). periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from