Skip to content

Add TPM2 API and its implementations to egg

Dhanuka Warusadura requested to merge dhanuka/libsecret:tss-dev into master

These changes define the TPM2 API and add its implementations to the incubation area (egg/).

Summary of the public API:

egg_tpm2_initialize: Start a TPM context.

egg_tpm2_finalize: End a TPM context.

egg_tpm2_generate_master_password: Generate and returns an encrypted master password in GBytes format. TSS Marshaling, GVariant serialization is used.

egg_tpm2_decrypt_master_password: Decrypts a master password generated from egg_tpm2_generate_master_password. TSS Unmarshaling, GVariant deserialization is used.

TPM2 API: TSS Enhanced System API (ESAPI)

Proposal: extend file backend to use TPM2 derived encryption keys

Related MRs: #86

Related Issues: #63 (closed)

Edited by Dhanuka Warusadura

Merge request reports