What problem does it solve?
Cryptographic keys stored in software are vulnerable to theft and extraction. This Skill guides the configuration of Hardware Security Modules (HSMs) so that keys are generated, stored, and used inside a tamper-resistant device boundary where they can never be exported.
Core Features & Use Cases
- PKCS#11 Key Management: Generate and manage AES, RSA, and EC keys directly inside the HSM using the standard PKCS#11 interface.
- SoftHSM2 Development Setup: Configure SoftHSM2 as a software-based HSM provider for development and testing before deploying physical hardware.
- HSM-Backed Operations: Perform signing, verification, encryption, and decryption with HSM-resident keys, including certificate authority operations and cloud HSM integration (AWS CloudHSM, Azure).
- Use Case: A security engineer needs to protect a CA root key. Use this Skill to generate the key on-device with non-extractable attributes, enforce M-of-N quorum authentication, and verify that export attempts are rejected.
Quick Start
Set up SoftHSM2 and generate a non-extractable RSA key pair inside the HSM, then verify the key cannot be exported.