tpm2_seal_trusted(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tpm2_seal_trusted(9) β€” Kernel API Manual, bestie edition πŸ’–

okay so we're in the Kernel API Manual and this page is literally about tpm2_seal_trusted, the function that seals the payload of a trusted key. no cap, that's the whole NAME vibe. πŸŽ€


✨ NAME ✨

tpm2_seal_trusted β€” seal the payload of a trusted key. that's it, that's the glow-up. πŸ’…

🌸 SYNOPSIS 🌸

the signature is giving β€œcopy me exactly,” so here it is:

int tpm2_seal_trusted (struct tpm_chip *chip , struct
       trusted_key_payload *payload , struct trusted_key_options *options );

πŸ’… ARGUMENTS πŸ’…

okay so there are three things you hand over, and yes they all matter:

  • chip β€” the TPM chip to use, bestie 🫢
  • payload β€” the key data in clear and encrypted form (both forms, icon behavior ✨)
  • options β€” authentication values and other options, the whole settings situation πŸŽ€

πŸŽ€ RETURN πŸŽ€

< 0 on error and 0 on success. that's the whole return story, fr fr πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, iykyk:


πŸ’Œ signed, sealed, delivered by the ./security/keys/trusted-keys girlies, October 2026 β€” this tpm2_seal_trusted(9) page says mwah! πŸ’‹

πŸ“¦ where this page comes from