fapi-config.5.in 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .\" Automatically generated by Pandoc 1.19.2.1
  2. .\"
  3. .TH "fapi-config" 5 "JULI 2020" "TPM2 Software Stack"
  4. .hy
  5. .SH "SEE ALSO"
  6. .BR fapi-profile (5)
  7. .SH DESCRIPTION
  8. .SB FAPI configuration file
  9. .PP
  10. The FAPI parameters which can be adjusted via the configuration file are;
  11. .IP \[bu] 2
  12. profile_name: Name of the default cryptographic profile chosen from the
  13. profile_dir directory.
  14. .IP \[bu] 2
  15. profile_dir: Directory that contains all cryptographic profiles known to
  16. FAPI.
  17. .IP \[bu] 2
  18. user_dir: The directory where user objects are stored.
  19. .IP \[bu] 2
  20. system_dir: The directory where system objects, policies, and imported
  21. objects are stored.
  22. .IP \[bu] 2
  23. tcti: The TCTI interface which will be used.
  24. .IP \[bu] 2
  25. system_pcrs: The PCR registers which are used by the system.
  26. .IP \[bu] 2
  27. log_dir: The directory for the event log.
  28. .IP \[bu] 2
  29. ek_cert_less: A switch to disable certificate verification (optional).
  30. .IP \[bu] 2
  31. ek_fingerprint: The fingerprint of the endorsement key (optional).
  32. .PP
  33. If not otherwise specified during TSS installation, the default location
  34. for the exemplary profiles is /etc/tpm2\-tss/profiles/ and
  35. /etc/tpm2\-tss/ for the FAPI configuration file.
  36. The environment variable TSS2_FAPICONF can be used to set an alternative
  37. pathname for the FAPI configuration file.
  38. .SH EXAMPLES
  39. .PP
  40. The FAPI configuration file is JSON encoded:
  41. .IP
  42. .nf
  43. \f[C]
  44. {
  45. \ \ \ \ \ "profile_name":\ "P_ECCP256SHA256",
  46. \ \ \ \ \ "profile_dir":\ "/etc/tpm2\-tss/fapi\-profiles/",
  47. \ \ \ \ \ "user_dir":\ "~/.local/share/tpm2\-tss/user/keystore/",
  48. \ \ \ \ \ "system_dir":\ "/home/myhome/keystore/system/keystore",
  49. \ \ \ \ \ "tcti":\ "",
  50. \ \ \ \ \ "system_pcrs"\ :\ [0,\ 1,\ 2,\ 3,\ 4,\ 5,\ 6,\ 7],
  51. \ \ \ \ \ "log_dir"\ :\ "/home/myhome/eventlog/"
  52. }
  53. \f[]
  54. .fi
  55. .PP
  56. For this example the default TCTI of the system will be used.
  57. The certificates for the stored endorsement keys will be checked.
  58. If the certificate checking is not needed the option:
  59. .PP
  60. \f[C]"ek_cert_less":\ "yes"\f[] can be added to the config file.
  61. Alternative to the standard certificate checking a fingerprint (hash of
  62. the public key) for the stored endorsement key can be defined in the
  63. config file:
  64. .PP
  65. \f[C]"ek_fingerprint":\ \ {\ \ \ \ \ "hashAlg"\ :\ "sha256",\ \ \ \ \ "digest"\ :\ "9e56...214d"\ \ \ \ \ }\f[]