Knolo KIP-0010: An Append-Only Keyring for Authority Key Rotation
How Knolo KIP-0010 rotates authority signing keys: signed rotation records, automatic predecessor revocation, fail-closed replay and a deterministic keyring root.
Knolo is the open-source, local-first Knowledge Image runtime and format from Hive AI, released under Apache-2.0 with the reference runtime published as @knolo/core on npm. Knolo signs authority decisions, and signing keys don't last forever. KIP-0010, Authority Key Rotation V1, defines how Knolo changes those keys without losing the record of which key was valid when. It is listed as a foundation implementation in the Knolo core repository.
Why Knolo keeps keys outside the Knowledge Image
KIP-0010 defines an append-only, verifiable authority keyring document. Key metadata lives outside the Knowledge Image, but the keyring's active keys and rotation history are committed to a deterministic authority-keyring root. Images stay about knowledge, and the keyring is still bound to them by digest instead of by trust.
Knolo key records
Each key record carries a version, principal, keyId, algorithm and publicKey, plus optional notBefore, notAfter and revokedAt times. Key IDs are unique per principal. Validity uses half-open intervals, and a key is usable only while it is neither expired nor revoked.
Knolo rotation records
A rotation is its own signed record: issuer, issuer key ID, principal, the new key and its algorithm, its validity window, issuedAt and expiresAt, and an optional previousKeyId. The issuer signs the canonical CBOR payload of every field except the signature itself.
Three rules make replay strict:
- When
previousKeyIdis present, replay checks that the predecessor belongs to the same principal and records its revocation at the new key'snotBeforetime. Retiring the old key happens as part of the rotation, not as a separate step that someone might forget. - The same rotation cannot be replayed twice.
- A rotation cannot reuse an existing principal and key ID pair.
Two Knolo roots, one history
keyRotationRoot is a domain-separated digest of one rotation's canonical payload and signature. authorityKeyringRoot commits to the sorted active key payloads, the ordered rotation roots, the sequence number and the keyring version. Two runtimes that replay the same rotations get the same root, and a missing, reordered or altered rotation changes it.
Authority envelopes (KIP-0009) can optionally carry this keyring root. That binds a decision to the exact persisted rotation state it was checked against, so a later reviewer can tell which keys were in force at the time.
What the Knolo reference implementation covers
The TypeScript implementation provides canonical CBOR serialization, fail-closed replay, an Ed25519 signer and verifier on WebCrypto, and an atomic Node keyring store. Other algorithms and external key custody, such as a hardware module or a cloud key service, remain host adapters. KIP-0010 does not prescribe where private keys live.
Read more about Knolo
- The Knolo specifications index and Knolo specification lifecycle on knolo.org.
- The Knolo release keys page explains the plan for release signing keys: they will be published, with rotation history, before signed release verification is enabled.
- Developer docs live at knolo.dev, the Knolo developer site.
- Source and specs: the Knolo core repository on GitHub.
knolo · kip-0010 · key-rotation · specifications · open-technology
