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=FILENAME or - (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 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.
  • -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