Registry / crypto / tss-esapi

tss-esapi

JSON →
library7.7.0rscratesunverified

Rust-native wrapper around TSS 2.0 Enhanced System API for TPM 2.0 operations.

# Cargo.toml [dependencies] tss-esapi = "7.7.0"
INSTALL
IMPORT
SIG · TSS-ESAPI
T
tss-esapi
cryptorustv7.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Context
use tss_esapi::Context;

Initialize a TPM context using the default TCTI.

use tss_esapi::Context; fn main() -> Result<(), Box<dyn std::error::Error>> { let mut context = Context::new()?; println!("TPM context initialized"); Ok(()) }
Debug
Known issues
gotchaRequires a TPM 2.0 device or simulator available at runtime
fix
Ensure a TPM device is present or use a software TPM simulator like swtpm
affects: >=0.0.0
Upgrade
Version history
7.7.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Resources
tss-esapi — cargo add tss-esapi · libregistry