Hardware Security Module Key Isolation for Cloud DI Wallets
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current cloud decentralized identity (DI) wallets lack proper enclaves to isolate cryptographic private keys from server processes, exposing them to security risks, especially in virtualized environments, and existing solutions fail to accommodate separate handling of cryptographic operations across machines.
Innovation Solution
Implement a hardware security module (HSM) that securely stores and manages cryptographic keys, either physically with the user or in a trusted execution environment (TEE) within the cloud, ensuring secure key management and authentication.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If cloud DI wallets store private keys in database and pass them in-memory for cryptographic operations, then cryptographic operations can be performed efficiently, but security is compromised due to lack of isolation between keys and server processes
Solution Approach 1:
The system separates cryptographic key management from the cloud DI wallet software by introducing a dedicated HSM component. The HSM securely stores private keys and performs cryptographic operations in isolation, while the cloud wallet handles high-level DI operations. This segmentation resolves the contradiction by maintaining key security through physical isolation while preserving cryptographic operation efficiency through the HSM's dedicated hardware design.
Solution Approach 2:
The HSM acts as an intermediary between the cloud DI wallet and the private keys. Instead of the cloud wallet directly accessing and storing keys in memory, it communicates with the HSM which handles all key-related operations. This intermediary approach maintains security by preventing direct exposure of keys to the cloud wallet process while enabling efficient cryptographic operations through the HSM's specialized hardware.
2Reliability
If an HSM is introduced to secure private keys, then key security is improved through physical isolation, but device complexity increases due to integration challenges in virtualized environments
Solution Approach 1:
The HSM is designed as a universal security module that can be integrated into various cloud DI wallet implementations through standardized interfaces. It provides multiple functions including key generation, storage, and cryptographic operations, making it adaptable to different virtualized environments without requiring custom integration for each scenario. This universality reduces integration complexity while maintaining security benefits.
Solution Approach 2:
The system implements feedback mechanisms where the HSM and cloud wallet continuously communicate through standardized APIs. The cloud wallet requests cryptographic operations and receives results, while the HSM provides status feedback on key operations. This structured feedback loop simplifies integration by providing clear interaction protocols, reducing the complexity of coordinating between the HSM and virtualized wallet environment.
Data Source
AI summary
An apparatus includes a hardware security module with a connection to a client device executing a mobile wallet application. The hardware security module includes hardware security module computer code instructions executed by a processor to store a private key, and supply a signature signed by the private key in response to a request from the client device that uses the signature to communicate with a decentralized identity wallet.


