tpm2-software / tpm2-totp

Attest the trustworthiness of a device against a human using time-based one-time passwords
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
164 stars 36 forks source link

Make TCTI configurable #7

Closed diabonas closed 5 years ago

diabonas commented 5 years ago

It would be nice to be able to set the TCTI that is used by the library with an environment variable, see https://github.com/tpm2-software/tpm2-tss-engine/pull/62 for inspiration. This would also make it possible to configure the integration tests to run on a TPM simulator, see https://github.com/tpm2-software/tpm2-tss-engine/issues/86.