tpm2_seal_trusted(9)
π 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:
- Kernel file
./security/keys/trusted-keys/trusted_tpm2.cπ tpm2_buf_append_auth(9)tpm2_load_cmd(9)tpm2_unseal_cmd(9)tpm2_unseal_trusted(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms