tpm_sealdata(1)

tpm_sealdata(1) πŸ’–

TPM Management β€” tpm_sealdata, from the General Commands Manual bestie section of the group chat ✨


🌸 NAME 🌸

tpm_sealdata β€” seal input data to the system's TPM πŸ«ΆπŸ”’


✨ SYNOPSIS ✨

tpm_sealdata [OPTION]

πŸ’… DESCRIPTION πŸ’…

okay so picture this: you have sensitive input data and you want it locked tf down. tpm_sealdata seals that data to the SRK of your system's TPM, and optionally to a PCR configuration too. main character encryption energy fr fr πŸ‘‘

⚠️ bestie BACK UP YOUR DATA ⚠️ it is unrecoverable from this format if the SRK changes or if the specified PCR configuration can't be reproduced. like, gone gone. no cap. πŸ’€

The result can be unsealed by functions in libtpm_unseal, such as tpmUnsealFile(3). iconic.

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” Display command usage info. the "wait what does this do again" button πŸ™ˆ
  • -v, --version β€” Display command version info. vibe check on the version ✨
  • -l, --log [none|error|info|debug] β€” Set logging level. pick your yap level: none, error, info, or debug πŸ“
  • -i, --infile FILE β€” File containing input data to seal. drop the file here, bestie πŸ’Œ
  • -o, --outfile FILE β€” Output file. Default is STDOUT. no file? it just yells into your terminal, slay 🎀
  • -p, --pcr NUMBER β€” Seal data to the current value of the specified pcr. This option can be given NUM_PCRS times. The specified pcr is in the range of 0 to NUM_PCRS-1. NUM_PCRS is at least 16 but may vary by platform. stack these like friendship bracelets, one per pcr πŸ’–
  • -z, --well-known β€” Use TSS_WELL_KNOWN_SECRET (20 zero bytes) as the SRK password. You will not be prompted for the SRK password with this option. skipping the password prompt entirely, lowkey a flex πŸ”₯
  • -u, --unicode β€” Use TSS UNICODE encoding for the SRK password to comply with applications using TSS popup boxes. for the apps that insist on being extra 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

tpm_takeownership(8), tpmUnsealFile(3)


😭 REPORTING BUGS 😭

Report bugs to <trousers-users@lists.sourceforge.net>


TPM Management Β· 2005-08-10

and that's the whole page bestie, mwah πŸ’…πŸ’– thanks for reading, go seal something responsibly, xoxo πŸŽ€