tss2_import(1)

πŸ’– NAME πŸ’–

okay so bestie, this is tss2_import(1) from the General Commands Manual β€” that’s the name, and the original page just puts a lil dash after it. No extra subtitle, no invented lore, periodt. It’s giving mysterious but iconic.

πŸ¦‹ SYNOPSIS πŸ¦‹

tss2_import [OPTIONS]

πŸ” SEE ALSO πŸ”

  • fapi-config(5) β€” use this to adjust Fapi parameters like the used cryptographic profile and TCTI, or directories for the Fapi metadata storages. iykyk, config bestie.
  • fapi-profile(5) β€” use this to determine the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction, like the name hash algorithm, the asymmetric signature algorithm, scheme and parameters, and PCR bank selection. Very β€œset the vibe before the operation” energy.

✨ DESCRIPTION ✨

tss2_import(1) β€” this command imports a JSON encoded key, policy or policy template and stores it under the provided path. That’s the whole main-character move, no cap.

πŸŽ€ OPTIONS πŸŽ€

These are the available options:

  • -p, --path=STRING β€” the path of the new object. This is where your imported thing is gonna live, bestie.
  • -i, --importData=FILENAME or - (for stdin) β€” the data to be imported. So yes, you can point it at a file or pipe it in with -, iykyk.

🌈 COMMON OPTIONS 🌈

This collection of options are common to all tss2 programs and provide information that many users may expect. Lowkey the shared group-chat settings of the tss2 world.

  • -h, --help [man|no-man] β€” display the tools manpage. By default, it attempts to invoke the manpager for the tool, however, on failure will output a short tool summary. This is the same behavior if the man option argument is specified, however if explicit man is requested, the tool will provide errors from man on stderr. If the no-man option is specified, or the manpager fails, the short options will be output to stdout.

To successfully use the manpages feature requires the manpages to be installed or on MANPATH, See man(1) for more details. No cap, the manpages gotta be there or it’s not gonna slay.

  • -v, --version β€” display version information for this tool, supported tctis and exit. Short, sweet, and out.

πŸ’… EXAMPLE πŸ’…

tss2_import --path=/policy/duplicate-policy --importData=importData.json

tss2_import --path=/ext/key --importData=importData.file

πŸ“ RETURNS πŸ“

0 on success or 1 on failure. That’s the whole vibe check. No in-between, no drama.

πŸ’€ BUGS πŸ’€

Github Issues β€” yes, that’s literally the whole section. If something’s cursed, Github Issues is the move.

🫢 HELP 🫢

See the Mailing List. Need a human? That’s where the humans are.

πŸ‘‘ License πŸ‘‘

This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Periodt, legal bestie.


mwah πŸ’‹ β€” this page is from tpm2-tools, dated APRIL 2019. Stay hydrated, and may your imports always land under the right path 🫢✨

πŸ“¦ where this page comes from