1fapi-config(5)                File Formats Manual               fapi-config(5)
2
3
4

SEE ALSO

6       fapi-profile(5)
7

DESCRIPTION

9       FAPI configuration file
10
11       The  FAPI  parameters  which can be adjusted via the configuration file
12       are;
13
14       • profile_name: Name of the default cryptographic profile  chosen  from
15         the profile_dir directory.
16
17       • profile_dir: Directory that contains all cryptographic profiles known
18         to FAPI.
19
20       • user_dir: The directory where user objects are stored.
21
22       • system_dir: The directory where system objects, policies, and import‐
23         ed objects are stored.
24
25       • tcti: The TCTI interface which will be used.
26
27       • system_pcrs: The PCR registers which are used by the system.
28
29       • log_dir: The directory for the event log.
30
31       • ek_cert_less:  A  switch to disable certificate verification (option‐
32         al).
33
34       • ek_fingerprint: The fingerprint of the endorsement key (optional).
35
36       If not otherwise specified during TSS installation, the  default  loca‐
37       tion   for   the  exemplary  profiles  is  /etc/tpm2-tss/profiles/  and
38       /etc/tpm2-tss/ for the FAPI configuration file.  The environment  vari‐
39       able  TSS2_FAPICONF  can be used to set an alternative pathname for the
40       FAPI configuration file.
41

EXAMPLES

43       The FAPI configuration file is JSON encoded:
44
45              {
46                   "profile_name": "P_ECCP256SHA256",
47                   "profile_dir": "/etc/tpm2-tss/fapi-profiles/",
48                   "user_dir": "~/.local/share/tpm2-tss/user/keystore/",
49                   "system_dir": "/home/myhome/keystore/system/keystore",
50                   "tcti": "",
51                   "system_pcrs" : [0, 1, 2, 3, 4, 5, 6, 7],
52                   "log_dir" : "/home/myhome/eventlog/"
53              }
54
55       For this example the default TCTI of the system will be used.  The cer‐
56       tificates for the stored endorsement keys will be checked.  If the cer‐
57       tificate checking is not needed the option:
58
59       "ek_cert_less": "yes" can be added to the config file.  Alternative  to
60       the  standard  certificate  checking  a fingerprint (hash of the public
61       key) for the stored endorsement key can be defined in the config file:
62
63       "ek_fingerprint":  {     "hashAlg" : "sha256",     "di‐
64       gest" : "9e56...214d"     }
65

COLOPHON

67       This page is part of release 3.2.0 of Open Source implementation of the
68       TCG TPM2 Software Stack (TSS2). A description of the project,  informa‐
69       tion  about  reporting bugs, and the latest version of this page can be
70       found at https://github.com/tpm2-software/tpm2-tss/.
71
72
73
74TPM2 Software Stack                JULI 2020                    fapi-config(5)
Impressum