fapi-config(5) | File Formats Manual | fapi-config(5) |
FAPI configuration file
The FAPI parameters which can be adjusted via the configuration file are;
If not otherwise specified during TSS installation, the default location for the exemplary profiles is /etc/tpm2-tss/profiles/ and /etc/tpm2-tss/ for the FAPI configuration file. The environment variable TSS2_FAPICONF can be used to set an alternative pathname for the FAPI configuration file.
The FAPI configuration file is JSON encoded:
{ "profile_name": "P_ECCP256SHA256", "profile_dir": "/etc/tpm2-tss/fapi-profiles/", "user_dir": "~/.local/share/tpm2-tss/user/keystore/", "system_dir": "/home/myhome/keystore/system/keystore", "tcti": "", "system_pcrs" : [0, 1, 2, 3, 4, 5, 6, 7], "log_dir" : "/home/myhome/eventlog/" }
For this example the default TCTI of the system will be used. The certificates for the stored endorsement keys will be checked. If the certificate checking is not needed the option:
"ek_cert_less": "yes" can be added to the config file. Alternative to the standard certificate checking a fingerprint (hash of the public key) for the stored endorsement key can be defined in the config file:
"ek_fingerprint": { "hashAlg" : "sha256", "digest" : "9e56...214d" }
This page is part of release 3.2.1 of Open Source implementation of the TCG TPM2 Software Stack (TSS2). A description of the project, information about reporting bugs, and the latest version of this page can be found at https://github.com/tpm2-software/tpm2-tss/.
JULI 2020 | TPM2 Software Stack |