Rütli keeps a Canton node's namespace and signing keys as shares spread across a cluster of cosigners. Any 2 of 3 can sign together, and no single machine ever holds the whole key. Take cosigners down, breach them or destroy their disks below, then press Sign to see what still works.
Named after the Rütli meadow, where three cantons swore to act only together.
Press Sign above. The steps light up as the request moves through the cluster in its current state.
rutli-driver.jar a 34-byte digest through Canton's KMS Driver SPI. The node itself is unmodified.frost.sign-leader = rotate is an opt-in that spreads the lead over the cosigners in turn.Not signed yet. Press Sign to run one request through the cluster.
The same incidents, for four ways of holding a Canton node's keys.
| Incident | Keys in the node's database (default) | Cloud KMS | One self-hosted KMS or HSM | Rütli, 2-of-3 with separate operators |
|---|---|---|---|---|
| A database backup leaks | Every node key, namespace included, in plaintext |
No private keys in it |
No private keys in it |
No private keys in it |
| The machine or account holding the keys is breached | Keys copied |
Attacker can sign with every key while access lasts |
Attacker can sign with every key while access lasts |
One share: can't sign. The encryption key is exposed, since it's held whole until threshold encryption arrives (planned for 1.0) |
| One administrator goes rogue | Can copy every key |
Can sign, given key permissions |
Can sign, given key permissions |
Needs 2 cosigners run by different people, plus any approval quorum |
| The key store is destroyed | Restore from a database backup, which holds the keys in plaintext |
Covered by the provider's durability |
Restore from that KMS or HSM's own backup |
Repair from the surviving cosigners, or restore sealed backups |
| An existing node moves in, same namespace | Already there |
No: a new validator |
No: a new participant |
Yes, rehearsed on DevNet |
The Rütli column assumes cosigners in separate trust domains. Three cosigners in one cluster run by one team behave much like a single KMS against a rogue administrator.
Canton has no supported switch from database keys to a KMS. This is the in-place path we rehearsed on a Splice 0.9.0 / Canton 3.6.1 validator on DevNet. On the main branch the same procedure is tested end to end in CI on Canton 3.6.1 and on Canton 3.7.2.
Each key is exported from the running node with keys.secret.download_to, protected by a password.
The namespace and signing keys are split into FROST shares on an offline machine, checked against their Canton fingerprints, then refreshed so the dealt shares no longer combine with the live ones (required in production, skipped in the DevNet drill). The encryption key is imported whole.
The same participant restarts on the Rütli driver, registers each key by id and comes back with identical fingerprints. On DevNet the wallet was down about 20 minutes, and nobody had to re-onboard.
Both keys were rotated onto keys born in the cluster. After 11 clean days the old database rows were deleted and every old copy destroyed, and the node restarted with no private key in its database. A key that once existed whole stays as exposed as any copy you missed.