- python-dev
- gcc
- tpm2-tss
- tpm2-tools
- automake
- autoconf
- autoconf-archive
- openssl
- libssl-dev
git clone https://github.com/tpm2-software/tpm2-tss; and install following INSTALL.md instructions
git clone https://github.com/tpm2-software/tpm2-tools and install following INSTALL.md instructions
python setup.py build -b .build install
python tests/test.py
from tpm20 import tpm20
data = b"to be signed data"
signature = tpm20.sign(data)
from tpm20 import tpm20
pubkey = tpm20.public_key