liveBook · Manning

Key management

As explained in Real-World Cryptography

Key management is the lifecycle practice of generating, storing, using, rotating, revoking, and protecting cryptographic keys and secrets.

Key management keeps cryptographic keys and other secrets under control after they are generated: storing them, limiting their use, expiring them, rotating them, and responding when they are compromised. section 8.7 section 8.9

A practical defense-in-depth routine includes:

  • Rotate keys periodically so a compromised key has a limited useful lifetime. section 8.7
  • Revoke a key promptly when compromise is known, checking its status before use where supported. section 8.7
  • Automate rotation and revocation, and assign each key a narrow role to limit breach consequences. section 8.7

Separate keys by role

A system can use one public key only for signing transactions and another only for key exchange. Losing the second key then need not expose transaction signing. section 8.7

How Real-World Cryptography covers it

How deep it goes
Explains storage concerns, rotation, revocation, automation, and role separation, while deferring detailed revocation mechanisms to secure transport.
Examples
Uses separate public keys for transaction signing and key exchange to demonstrate role-limited compromise.
What it assumes
Assumes familiarity with generating cryptographic random numbers and deriving secrets before addressing their ongoing protection.
What you can do after
Apply it via automated expiration, rotation, revocation, and role separation for cryptographic keys.
How it connects
Connects cryptographic keys with secrets, key derivation functions, key rotation, key revocation, automation, and trust splitting.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.