self-managed-cryptography-pattern
Installation
SKILL.md
Self-Managed Cryptography Security Pattern
In this pattern, the system itself manages the cryptographic keys, including storage and retrieval when necessary. The system is responsible for ensuring the confidentiality and integrity of cryptographic keys throughout their lifetime.
Key Responsibilities
When using self-managed cryptography, the system must handle:
- Key storage - Secure persistent storage of keys
- Key retrieval - Secure access to stored keys when needed
- Key distribution - Secure transmission of keys when required
- Key revocation - Proper invalidation and destruction of keys
Core Components
| Role | Type | Responsibility |
|---|---|---|
| Application | Entity | Interacts with cryptographic library and manages keys |
| Cryptographer | Cryptographic Primitive | Library performing cryptographic operations |
| Key Storage | Storage | Persistently stores cryptographic key material |