tss2_setappdata(1)
β¨ NAME β¨
Okay so this is tss2_setappdata(1), straight out of the General Commands Manual, and it's the command's manual page. That's the name section, bestie β short and iconic. π
π¦ SYNOPSIS π¦
tss2_setappdata [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.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 π
This command lets an application associate an arbitrary data blob with a given object. The data is stored and can be returned with tss2_getappdata. Previously stored data is overwritten by this function. If empty data is passed in, the stored data is deleted. So yes β this is the store-and-overwrite situation, and empty data means delete. π«Ά
πΈ OPTIONS πΈ
These are the available options:
-p,--path=STRINGβ path of the object for which the appData will be stored.-i,--appData=FILENAMEor-(for stdin) β the data to be stored. Optional parameter. If omitted, the stored data is deleted.
π COMMON OPTIONS π
This collection of options is common to all tss2 programs and provides information that many users may expect.
-h,--help [man|no-man]β display the tool's manpage. By default, it attempts to invoke the manpager for the tool, but on failure it 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 frommanon 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 onMANPATH; seeman(1)for more details.-v,--versionβ display version information for this tool, supported tctis and exit.
π₯ EXAMPLE π₯
tss2_setappdata --path=HS/SRK/myRSACrypt --appData=appData.file
β RETURNS β
0 on success or 1 on failure. That's the whole mood. β
π BUGS π
Github Issues β that's where bug reports go.
π«Ά HELP π«Ά
See the Mailing List β yes, that's the help pointer.
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
Okay bye bestie π β this page is from tpm2-tools, date situation: APRIL 2019. Mwah π
π¦ 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