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=FILENAMEor-(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 themanoption argument is specified, however if explicitmanis requested, the tool will provide errors from man onstderr. If theno-manoption is specified, or the manpager fails, the short options will be output tostdout.
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
- arch rolling: tpm2-tools 5.8-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms