The short answer. Publish a hash of your next public key today. If your current algorithm breaks, the hash proves which key is really yours, because you published it before the break.
| Piece | Today | On rotation day |
|---|---|---|
| Today's key, K0 | Public | Retired |
| The commitment: SHA-256 of the next key | Public, in a witnessed log | Checked against K1 |
| The next key, K1 | Secret | Revealed, and signs the rotation |
What gets hashed
The next public key's SubjectPublicKeyInfo bytes, with SHA-256.
What's public, and what isn't
Today's public key and the commitment are public. Nothing else. The next public key stays secret until rotation. Its private key stays secret always, and offline until then.
Who signs the rotation
The new key does. Verifiers hash it and compare the result with the commitment. An attacker who broke today's key can sign with it, but can't produce a key that matches the commitment.
Why a different family
If K1 came from the family that broke, the attacker could break K1 too.
Where the commitment lives
In an append-only log that others witness, so nobody can claim later that it was added after the break.
Where this comes from
It's pre-rotation, from KERI: specification.
First step
Your code signing key. Then see the other four moves on the prepare page.