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.
57
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/3072/4096) or ECC (NIST P-256/P-384) algorithms e.g, PKCS#1v1.5, ECDSA
58
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 | 57 | 58 |
| Total Downloads | 10.9K | 499.5K | 1.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 176 | 580 |
| Releases | 8 | 16 | 79 |
| Last Updated | 1425d ago | 4d ago | 1152d ago |
| Age | 6y 10m | 10y 1m | 8y 7m |
Health Breakdown
yubikey-cli
Maintenance
5
Quality
9
Community
8
Popularity
5
Documentation
12
yubikey
Maintenance
16
Quality
6
Community
16
Popularity
7
Documentation
12
yubihsm
Maintenance
7
Quality
13
Community
16
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% | 50.0% | 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 58/100, but none of the options score above 80.
- •yubihsm is depended on by 580 crates — strongest ecosystem trust.
- •⚠ yubikey-cli, yubihsm have not been updated in over a year.