Overview of Cosmian KMS test inventory
developThe Cosmian KMS test suite is distributed across several crates, covering server logic, cryptographic primitives, KMIP protocols, and client implementations:
cosmian_kms_server: Covers configuration, core operations (hash, mac, signature, etc.), middleware, and integration tests (Azure EKM, Covercrypt, Google CSE).cosmian_kms_crypto: Validates cryptographic primitives including Elliptic Curves (ECIES, ECDSA, EdDSA), PQC (ML-KEM, ML-DSA, SLH-DSA), RSA, and Symmetric ciphers (AES, ChaCha20).cosmian_kmip: Focuses on KMIP 1.4 and 2.1 serialization, TTLV (Tag-Type-Length-Value) wire formats, and interop with VMware, MongoDB, and MySQL.cosmian_kms_server_database: Tests database connection string redaction, LRU caching, and SQL/Redis storage backends.clients: Includes tests for theckmsCLI,clientHTTP client, andpkcs11providers.test_kms_server: Provides smoke tests and thevector_runnerfor integration replays.- HSM crates: Contains test suites for hardware backends like
softhsm2,utimaco,proteccio,smartcardhsm, andcrypt2pay(these are marked as#[ignore]and require actual hardware).