Open /dev/tpm0 only once in the life-cycle of a Client object

Moved opening of the Client object to __init__ so that it can be used
with an in-kernel resource manager sessions.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
2 files changed
tree: 185b0e1340f1ed29d7326fa09f97772a78d39b95
  1. AUTHORS
  2. keyctl-smoke.sh
  3. README.md
  4. tpm2-flush
  5. tpm2-list-handles
  6. tpm2-pcr-policy
  7. tpm2-read-pcrs
  8. tpm2-reset-da-lock
  9. tpm2-root-key
  10. tpm2-simulator-vtpm
  11. tpm2.py
  12. tpm2_smoke.py
README.md

This is a set of scripts for testing the Linux TPM driver TPM2 2.0 functionality.