tss2_delete(1)

πŸ’– NAME β€” tss2_delete(1) from the General Commands Manual πŸ’–

Okay bestie, this is the manual page for tss2_delete(1), and the official NAME line was literally just that. We're folding the General Commands Manual vibe in right here so you don't have to read a boring header. πŸ’…

✨ SYNOPSIS ✨

It's giving run me with options:

tss2_delete [OPTIONS]

πŸ¦‹ SEE ALSO πŸ¦‹

Need more lore? Peep these, bestie:

  • fapi-config(5) β€” to adjust Fapi parameters like the used cryptographic profile and TCTI or directories for the Fapi metadata storages.
  • fapi-profile(5) β€” 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_delete(1) β€” okay so this command deletes the given key, policy or NV from the FAPI metadata store and the TPM. Depending on the entity type, one of the following actions are taken:

  • Non-persistent key: Flush from TPM (if loaded) and delete public and private blobs from keystore.
  • Persistent keys: Evict from TPM and delete public and private blobs from keystore
  • Primary keys: Flush from TPM and delete public blob from keystore
  • NV index: Undefine NV index from TPM and delete public blob from FAPI metadata store
  • Policies: Delete entry from policy store
  • Hierarchy, PCR: These are not deletable
  • Special keys ek, srk: These are not deletable

πŸ’… OPTIONS πŸ’…

These are the available options:

  • -p, --path=STRING β€” The path to the entity to delete.

🫢 COMMON OPTIONS 🫢

This collection of options are common to all tss2 programs and provide information that many users may expect. Iconic shared behavior, honestly.

  • -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.
  • -v, --version β€” Display version information for this tool, supported tctis and exit.

πŸŽ€ EXAMPLE πŸŽ€

Deletes storage hierarchy (HS) and everything below it:

tss2_delete --path=/HS

πŸ”₯ RETURNS πŸ”₯

0 on success or 1 on failure. That's the vibe check: zero is the slay, one is the welp. 😭

πŸ› BUGS πŸ›

Github Issues β€” that's the spot. 🫢

πŸ†˜ HELP πŸ†˜

See the Mailing List. πŸ’Œ

🌈 License 🌈

This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Legal bestie moment, but make it official. ✨

✨ Cute sign-off: source/version tpm2-tools, dated APRIL 2019, and this page is tss2_delete(1). Byeeee, go delete responsibly. πŸ’–

πŸ“¦ where this page comes from