Skip to content
Architecture · 5 min read · Andrea Garrymore, Architect

Don't Get Haunted by a Skeleton Key

A Saturday-morning code review, a building full of good locks, and the one old lock a future quantum computer could pick

Every building has one old lock nobody thinks about. Here's how we found ours, changed it on production without touching a single door, and why you should change yours before a quantum computer can pick it.

Saturday morning, coffee on, the house quiet, I was in the middle of architecture and code reviews.

One question kept coming back: when today's encryption isn't good enough, how hard will it be for us to change it? For most organizations, honestly, the answer is "very." And with Halloween a few days away, it's a good week to talk about what should actually scare you: not the monster, but the old lock nobody remembers is there.

Picture an apartment building

Every door in the building has an excellent lock (that's 256-bit encryption), one a quantum computer isn't expected to beat. The spare keys hang in a cabinet in the manager's office. And the cabinet? It still has an old skeleton-key lock. That cabinet lock is the weak link that a future quantum computer could pick.

A skeleton key: an old key that opens simple locks.
A skeleton key: an old key that opens simple locks.

In Feathergrid, the doors guard our secrets, like sign-in codes and connection keys. The cabinet is the database that holds their keys, and the master key to the cabinet's lock lives in Key Vault.

Why it's scary now, not later

Nobody has a quantum computer that can pick that lock yet. But someone can copy the whole cabinet today, still locked, and simply wait. Security people call it harvest now, decrypt later.

The better locks already exist: NIST published the new quantum-resistant standards (FIPS 203, 204 and 205) in August 2024, and NIST's draft transition plan retires the old locks after 2030 and disallows them after 2035. Our audit records have to stay trustworthy for seven years, so for us the clock is already running.

"

Don't get haunted by a skeleton key. Change the lock now, while it's cheap.

"

Change the lock, not the doors

When a better lock comes along, you don't re-key hundreds of doors. You put the better lock on the cabinet. The keys stay where they are, the doors don't change, and nobody inside notices a thing. Every key is still right there when you need it, now behind the new lock. Cryptographers call this envelope encryption, and changing the cabinet lock is a re-wrap.

The apartment building: strong locks on every door, spare keys in a cabinet with an old skeleton-key lock, and a re-wrap that puts a new lock on the cabinet.
The apartment building: strong locks on every door, spare keys in a cabinet with an old skeleton-key lock, and a re-wrap that puts a new lock on the cabinet.

And this isn't theory. On Saturday evening we changed the cabinet lock in production. By the next scheduled check, every key was behind the new lock automatically: no failures, no restart, not one door touched. Key Vault's audit log recorded the change, and our ledger will too. If you can change the lock routinely today, you can change to a quantum-resistant lock tomorrow.

Here's the catch: a cabinet lock is only as good as the last time you changed it. If you don't keep it current, matched to the risk you're willing to accept, then the day a quantum computer can pick the old lock, every key in that cabinet, and every door those keys open, is at risk. And any copy of the cabinet taken before you changed the lock is already out of your hands. That's why the time to change it is now.

Key point
Don't make changing the cabinet lock a Dr. Frankenstein experiment. Make it a routine you've already rehearsed.

Walk the building first

You can't change a lock you don't know about. We've been here before with SHA-1 and TLS 1.0: the teams that struggled most weren't the ones with the hardest migrations; they were the ones who couldn't find their locks.

So we walked the building. Every lock in our code, on Azure and AWS, is on one list, alongside the ones our cloud providers run for us: what it protects, whether a quantum computer could pick it, and the plan. Our build checks our code against that list. Add a lock without listing it, or leave a listed one that's gone, and the build fails. Michael Howard, who works on post-quantum cryptography at Microsoft, and Simone Curzi make a similar point in their article Threat Modeling and Post Quantum Cryptography: automated discovery and code scanning can identify many cryptography dependencies, but often miss some, and threat modeling helps uncover what's missed.

An example lock list (illustrative data), checked by the build.
An example lock list (illustrative data), checked by the build.

One cabinet, not five

When many organizations walk their building, they find something like this: five services, each with its own homemade cabinet, the same encryption code copied five times. Changing the lock then means five separate jobs. We built one shared cabinet design that every service uses, where each key's tag names the lock it's under. Now changing a lock is one job in one place, and every key gets the new lock with none missed. Setting it up was painless too: within minutes of the new cabinet going live, every existing key was tagged and hung in it automatically.

Where many organizations are: five homemade cabinets. Where we are: one shared cabinet design, with every key tagged with its lock.
Where many organizations are: five homemade cabinets. Where we are: one shared cabinet design, with every key tagged with its lock.

None of this is a Feathergrid invention. In June, Howard published Post-Quantum Cryptography and Crypto-Agility, and his point is worth repeating: crypto-agility "is not simply the ability to swap one algorithm for another." It's an engineering discipline, and his checklist reads like our build notes.

Your before-Halloween checklist

  1. Walk the building. List every lock (every place you use cryptography) and what it protects.
  2. Keep the list honest. Make your build check it.
  3. Use one cabinet design. Every key tagged with its lock.
  4. Practice changing the lock. Rotate a key now, so it's routine later.
  5. Ask your landlords. "What's your plan for 2030?" is a fair question for every vendor.

No silver bullets, just better locks

We're not calling ourselves "quantum-safe." Nobody honestly can yet. We're quantum-ready by design: we know every lock in the building, the build keeps that list true, and changing the cabinet lock is one job, not a scramble.

Don't get haunted by a skeleton key. Change the lock now, while it's cheap.

By then the code review was done and the coffee had gone cold. Time for another cup.

Happy Halloween.

Topics

#post-quantum cryptography#crypto-agility#key management#security#regulated industries