Skill 5.4.1
Fundamental key management concepts (e.g., storage, rotation, composition, generation, destruction, exchange, revocation, escrow)
Key Concepts
Generation uses secure random number generators and appropriate algorithms and lengths (composition). Exchange or distribution uses secure methods such as Diffie-Hellman or encryption with a recipient's public key. Storage protects keys in hardware security modules (HSMs), TPMs or key management services, never in source code or plaintext files. Rotation replaces keys periodically or after suspected compromise to limit exposure.
Revocation withdraws trust in a key, for certificates through certificate revocation lists (CRLs) or the Online Certificate Status Protocol (OCSP). Escrow places copies of keys with a trusted party so that data can be recovered; key recovery agents serve a similar purpose. Destruction securely deletes keys at the end of their life, which also makes data encrypted with them unrecoverable (crypto-shredding). Split knowledge and dual control prevent one person from having complete control of critical keys.
In a PKI, a certificate authority (CA) issues X.509 certificates that bind public keys to identities after a registration authority (RA) verifies them, organised in a hierarchy from an offline root CA through intermediate CAs.