Skip to content
Pro lab

Key Management Lifecycle Lab

Generating a strong key is the easy part. Knowing what order to move it through its lifecycle, how often to rotate it, and exactly what to do the moment it is suspected compromised — without stranding your own encrypted data or breaking non-repudiation — is what separates real key management from a key sitting in a config file. Run keys through generate → distribute → rotate → retire → archive → destroy, choose crypto-periods, respond to a compromise, and make storage calls, all graded against NIST SP 800-57-style rules.

0s

Run the keys through their lifecycle

You are the key custodian. Across 5 challenges you will order a key’s lifecycle, choose the right crypto-period, run the emergency response to a compromise, and make storage decisions — all against NIST SP 800-57-style rules. Clear 80% with no critical mistake to pass; finish under par for a speed bonus.

1
Lifecycle order
1
Crypto-period
2
Exposure incident
1
Storage decision

Loading…

Sample report · illustrative data

Sample result: Key Lifecycle Lab debrief

Example Rookie run of four key-management challenges: a lifecycle ordering, a crypto-period choice, an exposure incident and a storage decision.

Challenge results

ChallengeTypeOutcome
Lifecycle of a data-at-rest keyLifecycle orderCleared
Crypto-period: public TLS keyCrypto-periodCleared
Incident: data key compromisedExposure incidentMissed
Storage: where the data key livesStorage decisionCleared

Order checks on the lifecycle challenge

  • Generated before used: met
  • Activated before use: met
  • Rotated before the old key is retired: met
  • Archived before destroyed: met
  • No hardcoded or emailed key material: met

How the run is judged

Each challenge is scored out of 100 and the run averages them. It passes at 80% with no critical slip; choosing a trap option, such as emailing key material for safekeeping, counts as a critical slip and fails the run however high the average. The missed incident challenge would show the correct response order and why each step matters.

Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.

TL;DR

What this lab is

5 points
  • A browser-based cryptography lab: run cryptographic keys through their full lifecycle — generate, distribute/activate, rotate, deactivate, archive, destroy — the way NIST SP 800-57 prescribes.
  • Four graded challenge types: order the lifecycle for a given key, choose the right crypto-period, run the emergency response to a suspected key compromise, and make sound key-storage decisions.
  • Order and proportionality are the whole skill: destroy a compromised data key before you re-encrypt and the ciphertext is stranded; escrow a signing key and you break non-repudiation; over-rotate on a public-key non-event and you cause an outage for nothing.
  • Harder tiers add the nasty variants — a compromised signing key (destroy, don’t preserve), a shared KEK whose backup was also exposed, partial exposure, and stricter cadence rules.
  • Every challenge grades against the real rules and explains the reasoning, with a live arena showing a key-thief adversary working against stale, hardcoded and un-rotated keys.

Frequently asked questions

What is the Key Management Lifecycle Lab?

An in-browser exercise where you manage cryptographic keys across their lifecycle. You order the lifecycle states for a given key type, pick an appropriate crypto-period (rotation cadence) for its use, respond to a suspected key compromise in the correct emergency sequence, and make key-storage decisions (HSM/KMS, dual control, escrow trade-offs). Each challenge is graded against NIST SP 800-57-style rules and explained.

Why does the order matter so much?

Because the costliest key-management mistakes are ordering and decision mistakes. Destroy a compromised data-encryption key before you re-encrypt the data and you lose access to your own ciphertext forever. Restore a KEK from a backup that was stored in the same vault that leaked and you re-introduce the compromise. Rotate a signing key but keep the old private key "just in case" and you leave a forgery-capable key alive. The lab models these as hard rules, not opinions.

Why is escrow right for one key and wrong for another?

Escrow is a deliberate trade-off. You escrow (back up) a data-encryption key so that long-lived ciphertext stays recoverable if the primary copy is lost. You never escrow a private signing key, because a second copy breaks non-repudiation and enables forgery — there is no recoverability argument for a key that encrypts nothing. Learning when each rule applies is a core part of the lab.

Does this do real cryptography?

The grading is based on bundled scenarios — no network, no server. There is an optional flavour button that generates a throwaway AES-256 key locally with the browser’s crypto.subtle API; that key never leaves your browser and is not used for grading. The lab teaches lifecycle decisions, not primitive implementation.

The tools people use most on PlayCISO.

All tools