tss2_gettpmblobs(1)
π NAME π
Okay bestie, welcome to tss2_gettpmblobs(1) from the General Commands Manual π
This is the little command that grabs the public and private blobs of an object for you, so a low-level API can load them later. It also hands over the policy attached to those blobs in JSON. Iconic behavior, honestly β¨
β¨ SYNOPSIS β¨
tss2_gettpmblobs [OPTIONS]
π¦ SEE ALSO π¦
fapi-config(5)β use this to adjust Fapi parameters like the cryptographic profile and TCTI, or the directories for the Fapi metadata storages π«Ά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 πΈ
πΈ DESCRIPTION πΈ
tss2_gettpmblobs(1) literally returns the public and private blobs of an object, such that they could be loaded by a low-level API (e.g. ESAPI). It also returns the policy associated with these blobs in JSON format. No cap, thatβs the whole vibe π
π OPTIONS π
These are the available options, bestie:
-f,--forceβ Force overwriting the output file. Use it when youβre feeling brave π-p,--path=STRINGβ The path of the object for which the blobs will be returned.-u,--tpm2bPublic=FILENAMEor-(for stdout) β The returned public area of the object as a marshalledTPM2B_PUBLIC. Optional parameter π-r,--tpm2bPrivate=FILENAMEor-(for stdout) β The returned private area of the object as a marshalledTPM2B_PRIVATE. Optional parameter π-l,--policy=FILENAMEor-(for stdout) β The returned policy associated with the object, encoded in JSON. Optional parameter π
π COMMON OPTIONS π
This collection of options are common to all tss2 programs and provide information that many users may expect. Group-chat essentials, fr fr π«Ά
-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 on stderr. If theno-manoption 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. Do not skip this part, bestie π
-v,--versionβ Display version information for this tool, supported tctis and exit. Short, sweet, slays β¨
π EXAMPLE π
tss2_gettpmblobs --path=HS/SRK/myRSACrypt --tpm2bPublic=tpm2bPublic.file --tpm2bPrivate=tpm2bPrivate.file --policy=policy.file
β RETURNS β
0 on success or 1 on failure. Simple as that π
π BUGS π
Github Issues iykyk π
π«Ά HELP π«Ά
See the Mailing List π
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Slay, legally β
Thatβs the whole tss2_gettpmblobs(1) situation, bestie β brought to you by tpm2-tools, dated APRIL 2019 πΈπ«Ά
π¦ 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