Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.24 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.24 KB

Build status Rust version Documentation Latest version All downloads Downloads of latest version

TPM 2.0 TSS (TPM Software Stack) SAPI (System API) Rust Wrapper

Build

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 where libsapi.so lives
  • TCTI_DEV_LIBS_PATH to where libtcti-device.so lives
  • TCTI_SOCK_LIBS_PATH to where libtcti-socket.so lives

Optionally you can also build with --no-default-features and then enable either tcti-device or tcti-socket.