One fenced HSM per validator key: why we turned down threshold signing
Each consensus key in this design signs from exactly one HSM partition at a time. The right to sign is a lease held in the slashing-protection store, so the hardware alone does not grant it. We rejected threshold BLS signing across independent HSMs even though it is the stronger answer to the question reviewers usually ask first. This record sets out what that option buys, why it did not fit our failure profile, and which measurement would reverse the decision.
The option we turned down
In the threshold design, a distributed key generation ceremony splits every validator key into shares held by five HSMs in separate failure domains, and any three of them can produce a valid aggregate signature. No device ever holds the whole key, so stealing one share is useless, and losing two sites costs nothing in liveness. Failover stops being a concept. Nothing gets promoted, so there is no promotion to get wrong, and each signer keeps its own slashing protection and refuses conflicting messages, which means an equivocation needs a quorum to agree to it. On paper it beats our chosen design on theft resistance and on availability, and we say so plainly before arguing against it.
Where it broke against our deadlines
An attestation is only worth something if it is broadcast within 4 seconds of slot start, and a threshold round has to collect partial signatures from the slowest member of the quorum inside that window. Our HSMs sit in two cloud regions and one colocation site. Our estimate from load tests is that the cross-region quorum used close to half of the window at p99, before block proposal traffic was added on top. The second problem was less visible. Most HSMs certified under the usual hardware assurance schemes, FIPS 140 and Common Criteria, do not compute BLS partial signatures on-chip, so in practice the share is unwrapped into host memory and signed by middleware, which quietly gives up the property that made the option attractive. That middleware also becomes a shared software dependency across all five signers, and a single bug in it is a correlated failure.
What actually keeps it alive
The key is generated inside the primary HSM and leaves only under a wrapping key to one warm standby partition in the second region. Treasury and withdrawal keys are derived on hardened BIP-32 paths from a sealed seed, so a rebuilt partition reproduces them and no extended public key is ever left exposed upstream. The slashing-protection store is a strongly consistent replicated log that records high-water marks for source epoch, target epoch and proposal slot, and it issues a lease with a monotonically increasing fencing token that the signing front end checks before every HSM call. The failure mode we designed against is split brain: a network partition isolates the primary, which keeps signing while automation promotes the standby, and the two sign conflicting votes and are slashed. The primary therefore stops signing when its lease expires by its local clock, and the rule we apply is that a standby never signs until the lease TTL plus the worst measured clock skew has passed, because a missed duty costs a few epochs of rewards (our estimate) while a double vote costs stake and invites the correlation penalty.
If the slashing-protection store turns out to be the outage we actually suffer, or if we can place three HSMs with native on-chip partial BLS signing inside one metro latency envelope, threshold signing wins, so the store's availability record and vendor firmware roadmaps are what we review before reopening this decision.
Technical FAQ: Doesn't the slashing-protection store just become the new single point of failure?
For liveness, yes, and we accept that. If the store loses quorum, no signer can renew its lease and the validator goes silent instead of signing blind. It cannot cause a slashing event, and that asymmetry is the whole reason for the design.