ResoGo KMS
An enterprise key management system built on Eviden KMS (formerly Cosmian KMS) in Rust, adding access control, hardware security modules and post-quantum cryptography.
- Rust
- Actix-Web
- Tokio
- KMIP
- Keycloak
- PKCS#11
- ML-KEM
- MySQL
- Kong
- Docker
01//problem
Eviden KMS (formerly Cosmian KMS) manages encryption keys over the KMIP standard, but an enterprise deployment also needs per-user control over every key operation, hardware-backed key storage, modern algorithms and a management interface.
02//solution
Extended the KMS with a Keycloak-backed RBAC gate in the KMIP dispatch path, software and physical HSM support, post-quantum and policy-based encryption, and a 21-section React admin UI, deployed behind Kong in separate lab and cloud environments.
03//result
A KMS where 18+ KMIP operations are authorized per user, keys can live in software or physical HSMs, and the system ships with a full formal documentation set (SRS, HLD/SAD, DLD, test plan, user manual and more).
Architecture
Technical details
- Keycloak ↔ MySQL role synchronization on every authenticated request, plus full reconciliation on server startup
- Two-layer authorization: UI feature visibility (feature gate) kept separate from KMIP operation permissions (role gate) across eight assignable features
- Post-quantum key encapsulation (ML-KEM / CRYSTALS-Kyber, FIPS 203) with the full KMIP key lifecycle
- Covercrypt policy-based hybrid encryption with attribute-based access policies
- Certificate lifecycle (KMIP Certify, PEM/DER/PKCS#12, chain verification), HKDF key derivation and HMAC-SHA256/384/512
- FIPS hardening: non-FIPS usage masks sent by WASM clients are corrected server-side
- 14-stage build pipeline and a source-code security checklist