Decision Workspace
tpm-rs vs purecrypto-tpm vs secretx-tpm2
Side-by-side comparison of Rust crates
38
tpm-rs
experimentalv0.1.0
Windows TPM 2.0 hardware security — key management, attestation, EK certificates
48
purecrypto-tpm
experimentalv0.1.0
A pure-Rust TPM 2.0 stack — wire protocol, sessions and sealing over the Linux device or simulator, with no foreign code.
44
secretx-tpm2
experimentalv0.5.1
TPM 2.0 backend for secretx.
Core Metrics
| tpm-rs | purecrypto-tpm | secretx-tpm2 | |
|---|---|---|---|
| Health Score | 38 | 48 | 44 |
| Total Downloads | 31 | 22 | 26 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 1 |
| Releases | 1 | 1 | 1 |
| Last Updated | 86d ago | 16d ago | 27d ago |
| Age | 2m | 16d | 27d |
Health Breakdown
tpm-rs
Maintenance
8
Quality
12
Community
6
Popularity
2
Documentation
10
purecrypto-tpm
Maintenance
12
Quality
16
Community
6
Popularity
2
Documentation
12
secretx-tpm2
Maintenance
11
Quality
12
Community
7
Popularity
2
Documentation
12
Technical Details
| tpm-rs | purecrypto-tpm | secretx-tpm2 | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.5.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 8 | 1 | 9 |
| Crate Size | 22KB | 35KB | 14KB |
| Features | 0 | 4 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.88 | 1.92 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •purecrypto-tpm leads with a health score of 48/100, but none of the options score above 80.
- •tpm-rs has the most downloads (31), suggesting wider adoption.