Re-publishing under a new signing identity breaks every consumer's pinned trust — when is that worth it?
answer
- consumers pin, and you cannot make them move
- can the old identity be reclaimed and proved?
- adoption is unverifiable downstream
- verification quietly disabled to unblock a release
- machines enforce on digests, not names
basics
~20 sOnly when the old identity cannot be reclaimed. Changing identity forces every consumer to update a pin by hand, you cannot verify that they did, and slow ones stall for months. If the account is recovered and the attacker's path closed, keep the identity and rotate underneath it.
solid answer
~50 sTreat it as a cost you are imposing on people who did nothing wrong. Every consumer who pinned a key, a certificate subject or a namespace has to change it manually, you have no way to confirm they did, and regulated or air-gapped consumers may take months — during which they either accept unverified artifacts or stop taking your updates entirely. So if the account is demonstrably back under your control and the attacker's access path is closed, prefer keeping the identity and rotating the material beneath it. Move to a fresh identity when the attacker holds something you cannot revoke at the consumer's end, or when nobody can say when the compromise began, so the old identity's history is permanently unprovable. If you do move, keep the old artifacts served and verifiable for history, publish a firm cutover date, and give machine consumers what they actually enforce on: the digests to stop accepting and the new ones to accept.
go deeper
Know that consumers configure trust in a specific publisher identity, so changing that identity is something each of them must act on, not something you can do for them.
Explain what a consumer has actually pinned and what breaks when it changes: verification failures at install or admission, and the temptation to disable the check to unblock a release.
Show the condition that forces the expensive path — attacker retains something unrevocable at the consumer end, or the compromise start is unbounded — and run the cutover as a dual-publish migration.
Own the cost allocation and the design consequence: who pays for the migration, what you offer consumers who cannot follow, and whether your trust model lets you rotate without a mass manual migration next time.
## The decision, stated properly After a publishing identity is compromised you choose between two paths, and the difference is who pays. - **Keep the identity, replace what is underneath it.** The name, namespace and trust anchor consumers configured stay valid; you replace the credential or key material and re-establish control of the account. Consumers do nothing. This is by far the cheaper outcome downstream. - **Move to a fresh identity.** A new key, a new certificate subject, sometimes a new namespace. Every consumer with an explicit trust configuration must be told, must understand, and must act. You cannot check whether they did. The technical question that decides it is narrow: **can the old identity be reclaimed, and can you prove it?** If the account is recovered, every credential in scope is cut, the access path is closed, and you can bound when the compromise began, keeping the identity is defensible. If the attacker retains something you cannot revoke where it matters — key material held by consumers as a pinned anchor, with no revocation channel those consumers actually consult — then the identity is permanently poisoned no matter what you do at the registry, and moving is forced. ## Why unverifiable adoption is the real cost Rotation is easy to announce and impossible to confirm. Downstream you have a long tail: consumers who pinned once and never revisited, vendored copies, internal mirrors that re-sign, air-gapped installations, and platform teams whose verification policy is a config file nobody has opened in a year. The typical failure is not that they trust the wrong key — it is that verification starts failing and someone quietly turns it off to unblock a release. A rotation that converts strict verifiers into non-verifiers has made the ecosystem less safe than leaving the old identity in place would have. This is why trust models that anticipate rotation matter: where the anchor a consumer pins is something that can delegate to new signing material, rotation is a routine signed update rather than a manual migration. Where the anchor is the signing key itself, it is not. Which model you are in is decided long before the incident, and it is the single biggest determinant of how expensive this decision is. ## Managing the cutover you chose If you move, run it as a migration rather than a switch: - **Dual-publish for a stated window.** New releases under the new identity; keep the old artifacts served, unchanged and verifiable, so history remains auditable and nobody's forensic work is destroyed. - **Publish a firm end date** for the old identity, and hold it. An open-ended transition never completes. - **Track adoption by proxy.** You cannot enumerate consumers, but you can watch pulls of old versus new artifacts and lean on repackagers and distributions, each of which converts many consumers at once. - **Name the large consumers you can reach** and give them a contact. A regulated consumer that cannot move for six months needs a plan, not a deadline: an explicit extension, a named owner on both sides, and agreement on what they do in the interim. ## When the artifact is data, not code Some artifacts have no patch semantics. Model weights pushed with a stolen registry credential are the clean example: there is no fix to backport into the file, consumers pull by digest, and inference clusters may have the weights cached locally and loaded in memory. The remediation is therefore expressed entirely in digests — an explicit list of digests to refuse and the replacement set to accept — plus instructions to purge local caches, because a running cluster will not re-fetch on its own. The asset at stake is also different from the usual one: the loss is integrity of a model your customers make decisions with, and trade-secret value if the attacker also pulled what they overwrote. Frame the notice accordingly, and expect downstream consumers to ask you to prove the provenance of the replacement weights, which means the replacement must be produced under the new identity with a build record you can show. ## What a lead is being tested on The interviewer is not looking for "rotate everything immediately". They are looking for someone who can say who bears each cost, who can name the condition that forces the expensive path, who plans for consumers who cannot follow, and who understands that a control everyone disables under pressure is not a control. The good answer also closes the loop back to design: after this incident, is the trust anchor consumers hold still the raw signing key, or have you moved to something that lets you rotate without asking thousands of strangers to edit a config file?
- A regulated consumer says it cannot adopt the new identity for six months. What do you offer?A dual-publish window with an explicit, agreed end date rather than a silent extension, a named contact on both sides, and clarity on what they verify in the interim. Get their constraint in writing so the extension is a decision with an owner, not a drift, and make sure the old artifacts stay served and verifiable throughout.
- Why is replacing poisoned model weights different from patching a compromised library?There is nothing to patch: the artifact is opaque data, consumers address it by digest, and a running cluster holds it in cache and memory. Remediation is an explicit digest deny-list plus the replacement digests, along with instructions to purge caches and reload, and proof of how the replacement artifact was produced.
- What makes rotation cheap for consumers, and when is that decided?Whether the thing they pinned can delegate to new signing material, so rotation arrives as a signed update rather than a manual edit. That is fixed by the trust model you shipped long before the incident; if consumers pin the raw signing key, every rotation is a mass migration you cannot verify.
saying these in an interview costs you the question
- Rotates identity reflexively after any incident
- Assumes consumers pick up the new key automatically
- Deletes the old artifacts at cutover
- Treats a namespace change as free for downstream
- Believes a new key retroactively invalidates bad releases
- Leaves the transition window open-ended