Skip to content
Lesson 1 of 60 completed · Sign in to track completionCourse overview →Glossary ↗
Course contents · Scope the transition
  1. 1. Prioritize cryptographic dependencies by lifetimeFree
  2. 2. Choose an algorithm, library and protocol profileFree account
  3. 3. Establish a secret with ML-KEM in an isolated labPremium
  4. 4. Sign release metadata and test verification boundariesPremium
  5. 5. Verify hybrid transport and reject silent fallbackPremium
  6. 6. Defend a bounded post-quantum rollout from mixed evidencePremium

Prioritize cryptographic dependencies by lifetime

Build a dependency inventory for a research service and device fleet. Prioritize data confidentiality, verifier lifetime, backup exposure and upgrade constraints without predicting a quantum-computer date.

20 MIN

By AISecurityInterviews · Updated

Keep a return link on this browser. No account needed.

TL;DR: Inventory each cryptographic operation together with its owner, readers, trust anchors and replacement constraints. Prioritize long-lived confidentiality and long-lived verification independently; a device that cannot learn a new signing algorithm may need attention before a short-lived transport session.

Where you are. Lesson 1 of 6. Produce Orchard’s dependency inventory before selecting an algorithm or asking a supplier for a migration date.

Start with the property that must survive

Orchard is a fictional service that stores research records and ships signed configuration updates to field devices. For this exercise, the research owner requires records to remain confidential for twelve years. The device owner expects some verifiers to remain installed for eight years. These are scenario assumptions, not security deadlines or estimates of when quantum computers will become capable.

A sufficiently capable quantum computer running Shor’s algorithm threatens the factoring and discrete-logarithm assumptions behind RSA, finite-field Diffie-Hellman and elliptic-curve systems. That affects confidentiality established using those mechanisms and authenticity checked with vulnerable signatures. Conventional ephemeral key exchange provides forward secrecy against later theft of a long-term authentication key; it does not make recorded ephemeral public exchanges resistant to Shor’s algorithm.

Grover’s search algorithm is a different issue. Its idealized query speedup does not mean all encryption suddenly fails or that every hash property loses the same amount of security. Distinguish key search, hash preimages and collisions. Keep approved symmetric encryption and authentication while reviewing parameters against the applicable guidance and workload. The linked concept explains this distinction; this lesson applies it to ownership and scheduling.

Inventory operations, including the hidden readers

A useful row names the operation rather than saying “the server uses encryption.” For transport, record both sides of each terminated connection. For stored records, follow the data key and every wrapping layer. For signed updates, identify the verifier software, trusted key store and recovery path. Include offline backups and devices that return after months away.

DependencyScenario lifetimeEvidence neededInitial owner
Client → gateway → research APIRecords secret for twelve yearsNegotiated protection on both TLS legs and peer validationService team
Archived record keysSame confidentiality requirementWrapping algorithm, readers, backups and rotation processStorage team
Device update metadataVerifiers installed for eight yearsAccepted signature formats, trust-store updates and recoveryDevice team
Internal disposable test dataNo retained confidential contentConfirm the classification and isolate test credentialsTest team

Do not infer that a symmetric wrapping layer requires a KEM replacement. Record the actual dependency first. Public-key wrapping, vulnerable key distribution and exposed old copies can create different risks even when the stored payload uses the same authenticated symmetric cipher.

ORCHARD · MIGRATION EVIDENCE
Follow the dependency before selecting its replacement

Operation

Transport, wrapping or signing

Lifetime

Confidentiality and verifier horizon

Owner and readers

Include recovery and offline clients

Migration evidence

Test a named replacement scope

Turn the inventory into work packages

The research API is a confidentiality workstream. A supported hybrid transport profile may reduce exposure of newly exchanged secrets, subject to correct authentication and implementation. It cannot retroactively protect captured sessions. The device fleet is a verification workstream: distribute support for the new verification policy while the existing update channel is still trusted, then switch writers only after reader coverage is established.

Estimate migration duration as a planning input with an owner and uncertainty. If Orchard expects four years to complete a dependency change, twelve years of secrecy plus four years of migration illustrates why waiting for certainty is a poor plan. The sum is a prioritization heuristic, not a countdown or a computed attack probability. Avoid a single unexplained risk score that hides a fleet’s inability to upgrade.

An unknown algorithm is an inventory gap, not a low-priority row. Assign discovery work and a deadline. Require suppliers to identify the exact operation, product version, protocol profile, remaining classical dependencies and evidence for the oldest supported reader. A logo or “quantum-ready” label does not answer those questions.

Do this before moving on

Add two rows to Orchard’s inventory: a backup containing an old public-key-wrapped data key, and a device whose boot verifier accepts only the current classical signature format. For each, name the property, reader, migration blocker and an acceptance test.

Worked feedback: The backup row needs a retention and rewrapping plan that includes copies outside the live database. Rewrapping the live key does not erase an adversary’s saved copy. The device row needs a trusted verifier-update or replacement path, including recovery media. Generating a new signing key on the server cannot teach that device a new algorithm. Both rows can be urgent for different reasons; “transport first, signatures later” is not a universal ordering.

Go deeper

Key takeaways

  • Inventory operations, owners and every reader or verifier.
  • Prioritize retained secrecy and hard-to-update trust anchors separately.
  • Treat uncertainty as discovery work with an owner.

Check yourself

Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.

  1. 1Does classical forward secrecy remove harvest-now-decrypt-later risk?

  2. 2Why can device signatures be an early priority?

Sign in to track which lessons you have finished.