Decision Workspace
nornir-auth-mtls vs webgates-tonic vs nornir-service
Side-by-side comparison of Rust crates
mTLS (client-certificate) auth PROVIDER for the nordisk servers — maps a mutual-TLS leaf-cert Common Name to an identity. Implements the shared `nornir_service::AuthProvider` seam via `verify_client_cert` (a transport-level provider, beside the bearer providers). Cryptographic client-cert trust (the CA chain) is established by the TLS transport (rustls handshake); this provider consumes the ALREADY-EXTRACTED CN — it does NOT independently path-validate a CA. The tiny, zero-crypto transport provider a server pins whenever it accepts client certs. Consumed by holger (reference impl), korp, dwarves.
Tonic server-side transport adapter for webgates authentication and authorization.
Shared tonic gRPC service scaffold for the nordisk servers — the one bearer-auth interceptor (constant-time token compare) that nornir-server / dwarves-server / korp-server consume instead of hand-rolling three near-identical copies.
Core Metrics
| nornir-auth-mtls | webgates-tonic | nornir-service | |
|---|---|---|---|
| Health Score | 46 | 55 | 55 |
| Total Downloads | 177 | 59 | 836 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5 | 0 | 61 |
| Releases | 2 | 3 | 9 |
| Last Updated | 53d ago | 55d ago | today |
| Age | 2m | 5m | 2m |
Health Breakdown
Technical Details
| nornir-auth-mtls | webgates-tonic | nornir-service | |
|---|---|---|---|
| Version | 0.1.1 | 1.1.1 | 0.1.13 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 19 | 4 |
| Crate Size | 8KB | 42KB | 32KB |
| Features | 0 | 3 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.94 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •webgates-tonic leads with a health score of 55/100, but none of the options score above 80.
- •nornir-service has the most downloads (836), suggesting wider adoption.
- •nornir-auth-mtls, nornir-service are pre-1.0 — API may change.