TPM 2.0 TSS (TPM Software Stack) SAPI (System API) Rust Wrapper
To compile this library you must have tpm2-tss installed from https://github.com/tpm2-software/tpm2-tss
A precompiled package should be available at your distro: https://tpm2-software.github.io/packaging/
If you have it installed in a non-standard path you can export the following environment variables:
SAPI_LIBS_PATH
to wherelibsapi.so
livesTCTI_DEV_LIBS_PATH
to wherelibtcti-device.so
livesTCTI_SOCK_LIBS_PATH
to wherelibtcti-socket.so
lives
Optionally you can also build with --no-default-features
and then enable either tcti-device
or tcti-socket
.