Decision Workspace
yubikey-cli vs yubikey vs yubihsm
Side-by-side comparison of Rust crates
39
yubikey-cli
growingv0.7.0
Command-line interface for performing encryption and signing using RSA/ECC keys stored on YubiKey devices.
45
yubikey
growingv0.8.0
Pure Rust cross-platform host-side driver for YubiKey devices from Yubico with support for hardware-backed public-key decryption and digital signatures using the Personal Identity Verification (PIV) application. Supports RSA (1024/2048) or ECC (NIST P-256/P-384) algorithms e.g, PKCS#1v1.5, ECDSA
57
yubihsm
growingv0.42.1
Pure Rust client for YubiHSM2 devices with support for HTTP and USB-based access to the device. Supports most HSM functionality including ECDSA, Ed25519, HMAC, and RSA.
Core Metrics
| yubikey-cli | yubikey | yubihsm | |
|---|---|---|---|
| Health Score | 39 | 45 | 57 |
| Total Downloads | 10.9K | 356.1K | 1.0M |
| 30d Downloads | 12 | 24.3K | 52.0K |
| Dependents | 0 | 105 | 523 |
| Releases | 8 | 14 | 79 |
| Last Updated | 1229d ago | 955d ago | 956d ago |
| Age | 6y 3m | 9y 7m | 8y |
Health Breakdown
yubikey-cli
Maintenance
5
Quality
9
Community
8
Popularity
5
Documentation
12
yubikey
Maintenance
4
Quality
6
Community
16
Popularity
7
Documentation
12
yubihsm
Maintenance
7
Quality
13
Community
15
Popularity
7
Documentation
15
Technical Details
| yubikey-cli | yubikey | yubihsm | |
|---|---|---|---|
| Version | 0.7.0 | 0.8.0 | 0.42.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-2-Clause | BSD-2-Clause | Apache-2.0 OR MIT |
| Dependencies | 9 | 28 | 31 |
| Crate Size | 16KB | 94KB | 150KB |
| Features | 0 | 1 | 9 |
| Yanked % | 12.5% | 57.1% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.56 | 1.65 | 1.67 |
| Owners | 2 | 3 | 2 |
Links
Quick Verdict
- •yubihsm leads with a health score of 57/100, but none of the options score above 80.
- •yubihsm is depended on by 523 crates — strongest ecosystem trust.
- •⚠ yubikey-cli, yubikey, yubihsm have not been updated in over a year.