Skip to content

Normative · Part

Limitations

Read this before implementing. Every gap here is known; none is a discovered defect, and listing them is cheaper for everyone than letting a reader find them by writing code.

39. The gap that blocks production: convergence is pinned by enumeration, not as a property

Section titled “39. The gap that blocks production: convergence is pinned by enumeration, not as a property”

The SSP/1 conformance corpus now reaches the state a receiver materializes, and reaches it one enumerated event set at a time. The published corpora carry SSP/1 cases, and the count is served as data at /vectors/index.json rather than described here, so it cannot quietly stop being true.

What is pinned is what two implementations can compare byte for byte: the change event payload map, the value conventions CBOR has no native type for, the COSE_Sign1 parts over synthetic keys — including the empty unprotected bucket and the mesh_id bound as external_aad — and the event identifier derived from the signed input. Pinned alongside them is every row of the fail-closed inventory as an executable negative: the first place the corpus reached past the bytes and pinned a decision rather than a comparison.

The hybrid logical clock is pinned one step further than bytes. The corpus replays tick and observe sequences and pins the reading after every step, so an implementation that arrives at the right final clock by the wrong route fails rather than passes. The skew ceiling is pinned as a negative: an observation past the bound is rejected, and a case pinning a clamped reading in its place is a failure, not an accepted variant.

Receiver behaviour above the clock is pinned in part. The corpus carries scenario cases for the resolutions this specification’s pre-implementation review settled: the per-column covering set, the cursor’s arrival-order domain, the apply disposition for an unknown payload column, the watermark a skew rejection pins, the restart tick from the persisted mark, and the partial resurrection rebuild an eviction horizon truncates.

The merge those resolutions feed is pinned too, and pinned on the state rather than on the route to it. The corpus fixes the row an ordered sequence builds column by column, which write takes a contested cell when the per-column clock and the arrival order disagree, the site_id that breaks an equal HLC, and the row a tombstone holds empty against a lower-clocked write arriving after the delete. Each of those fixtures delivers the losing event last, so an implementation that reads the last arrival as the answer fails rather than passes by luck. A convergence case then takes one such event set and materializes it under every delivery order, pinning both the single row they all reach and the number of orders walked to reach it: a receiver that converges on twenty-three of twenty-four is a failure rather than a variant.

What is still not pinned is generality. Section 13.5 asks an implementation for property-based testing over randomized orders, and a frozen vector is the opposite of randomized — the corpus enumerates every order of one small set, which is a floor under that testing rather than a substitute for it. So two implementations can now agree on every byte on the wire, on the order those bytes carry, on refusing all the same inputs, and on the state they materialize from the event sets the corpus names, and still diverge on a set it does not name. The corpus cannot close that by growing, because the sets are unbounded and the vectors are not; closing it needs a generator that produces event sets rather than a corpus that lists them. That gap is what still blocks production use.

What the inventory’s cases establish is narrower than conformance and worth stating exactly. Each one pins the offending bytes and the harness recomputes the refusal from them, so no row of the inventory can be weakened into an acceptance without the corpus going red. A negative vector that merely recorded “this input is bad” would check nothing, and would be worse than an absent one for reading as coverage.

The SSP/1 corpus is generated from the specification prose by an independent tool rather than extracted from the implementation under test: a vector extracted from the code under test proves only that the code agrees with itself. Vectors added for the remaining sections SHOULD be generated the same way.

Until the rest of the behavioural half exists, implementers SHOULD treat cross-implementation testing of materialized state as their own responsibility and SHOULD publish disagreements.

40. Security properties SSP/1 does not provide

Section titled “40. Security properties SSP/1 does not provide”

Removing a node stops it receiving future data. It does not and cannot reach back and unlearn what the node already read. Any product language implying otherwise is wrong.

operation: "purge" is reserved, and scope §18.2 specifies the record it will carry without making it available: the record’s content type and labels are unregistered, so no implementation can emit or accept one. Deletion is logical: a tombstone hides a row from queries and clears its column values, but the event log retains the history required for resurrection rebuild to work.

An implementation MUST fail closed on a purge request rather than pretend it succeeded.

Two things stand between the specification and availability, and the revision that registers the record closes both. The first is registration itself, with the vectors that pin the record’s literals (§54). The second is the record that carries the genesis tombstone secret of scope §18.2.1 to a newly admitted node. The secret is specified — 32 random bytes the founder mints at genesis, held by every key-holding member, by no relay, and rotated by no exclusion — but the record that distributes it is unregistered like the purge record, so no mesh founded under this revision holds one. No existing key of SOVM/1 could stand in for it: a node’s root identity is its own and never leaves its element, and every shared key SOVM/1 defines is one an exclusion rotates.

The secret has two limits that this revision records and does not close:

  • Exclusion residue. An excluded node keeps the secret, because a secret an exclusion rotated could not key a commitment a surviving member must still recompute. What it can do with it is bounded: given a purge it later obtains, it can learn whether key_commitment names an address it already held before the exclusion — data it had — and nothing else, since sealed_coordinates is sealed to a key generation it no longer receives. The residue is the linkability of a tombstone to a row the node already had, never new content. An implementation MUST NOT describe a purge as hidden from excluded members.
  • Loss, and a mesh founded before availability. A mesh whose key-holding members have all lost the secret, and a mesh founded before the distribution record is available, hold none and cannot mint one silently: which member mints it, how every key-holding member and no relay comes to hold it, and what a purge issued under a lost secret still means are new mechanism, and this revision does not specify it. A purge request on such a mesh fails closed.

Where erasure is required before the record is available, the mechanism a deployment has is key destruction at a layer above this one (SOP/1 §19.6). What that certifies is bounded by the same section: it makes a copy unreadable to the mesh and does not make it gone, and a deployment MUST NOT report it as gone (SOP/1 §19.7). Once the record is available, the purge reaching every replica is what certifies an erasure, and key destruction is what is recorded for a replica the purge did not reach within D (scope §18.2.4).

40.3. No revocation announcement on the wire

Section titled “40.3. No revocation announcement on the wire”

A removal is a local act on each peer plus, where SOP/1 is deployed, a group membership operation. SSP/1 defines a removal record that announces it, and the record is deliberately not a removal: on a peer that holds the removed node’s row it changes no trust.

So a peer stops trusting a removed node only once its own local act pins the cutoff. Until then it may continue accepting events from a node the authority has removed, and implementations SHOULD minimize that window by their own means. The record is what they surface to the human on each device to do so.

The window is not merely unbounded by this specification. The policy change travels the same mailbox as everything else, and a mailbox operator can withhold and delay selectively without reading anything — so it can extend the window for a peer of its choosing. An implementation’s minimization MUST therefore rest on positive confirmation from each node, never on the absence of an objection.

An earlier revision of this page called the gap cheap to close, on the reasoning that the records channel already carries chained control records. The channel does; the obligation does not follow. A peer that receives a removal record still needs a normative instruction to act on it, and that instruction is a capability — so the tier test applies. It fails tier 2, because the guarantee an omitting node weakens belongs to the removing authority rather than to itself, which makes it tier 3. But tier 3 is carried by the capability declaration, which is unavailable to a mesh that claims no object plane and binds at admission rather than continuously — so it cannot carry this one either.

A capability with no carrying mechanism lands mandatory, and the mandatory form is worse than the gap it closes. A record that peers apply on receipt is a remote trust-store mutation: it would give every authorized node — and therefore any single compromised one, which §40.5 already assumes — the ability to evict any other node from every peer’s keyring, mesh-wide, with neither the k vouches nor the human confirmation that admission requires. Removal MUST NOT be structurally cheaper than admission. Trading a bounded window of stale trust for an unbounded remote eviction primitive is not a trade this revision makes.

Two things must therefore land before a revision can close this gap: the membership authorization record of SOP/1 §5.7 must acquire a registered content type and a wire encoding, and tier 3 must acquire a carrying mechanism that reaches a mesh without an MLS control group and binds after admission. A revision that has both SHOULD prefer a receiver effect that quarantines the removed node’s events over one that deletes its keyring entry: a quarantine is reversible and an eviction is not. Neither prerequisite is specific to revocation, and stating them here is cheaper than letting the next reader rediscover the wall. The removal record is a registered, signed record that such a receiver effect could attach to. It carries none in this revision, and nothing in it forecloses one.

40.4. Metadata is not protected by this layer

Section titled “40.4. Metadata is not protected by this layer”

SSP/1 defines message semantics, not transport confidentiality. A mailbox operator sees payload sizes, timing, and which site_id is talking to which. Where that matters, the transport binding must address it; nothing on this page does.

40.5. A compromised authorized node is fully trusted

Section titled “40.5. A compromised authorized node is fully trusted”

Every node in a mesh can author events for any table within its scope. There is no intra-mesh privilege separation for mutable state: a node authorized to write a table can write anything to it. Per-event signatures make authorship attributable, not constrained.

40.6. A rollback of node-local state is undetectable

Section titled “40.6. A rollback of node-local state is undetectable”

Restoring a node from a snapshot or backup taken before it released events rolls its HLC high-water mark backwards, and nothing in SSP/1 detects that it has happened. The restored node reads a mark it wrote itself and holds no record of what it did after the snapshot. Its peers hold the events that would reveal it, but a node’s clock floor is not addressable on the wire, and self-echo suppression makes the node drop those events on arrival.

Requiring the mark to be integrity-protected narrows this rather than closing it. Protection catches a mark forged to an arbitrary value; it does not catch one replayed from an earlier authentic write, which is what a restore performs. Only rollback-resistant storage does, and SSP/1 cannot require a facility every platform does not have.

The mark is also a target in its own right. Deleting or corrupting it stops the node stamping under that site_id until an operator intervenes — the fail-closed behaviour this specification wants, and a denial of service, which are the same event seen from two sides. SSP/1 takes the safe side deliberately. Write access to node-local storage already implies substantial compromise, so this widens what such a compromise achieves rather than opening a new way in.

The mitigation — re-key a rolled-back node rather than resume it — is an operational rule the protocol states and cannot enforce. Closing the gap on the wire would mean returning a node its own maximum from a peer, which makes a node’s clock floor a value some other node supplies and can lie about; SSP/1 does not take that trade in this revision, and an implementation that treats node-local durable state as restorable-from-backup infrastructure is the deployment shape this section exists to warn about.

40.7. HLC-anchored subkey validity does not prevent backdated forgeries

Section titled “40.7. HLC-anchored subkey validity does not prevent backdated forgeries”

An attacker who extracts a node’s event-signing subkey can craft change events carrying any HLC inside that subkey’s validity window, including HLCs in the past. Section 11.1’s skew bound rejects timestamps in the future; a past HLC is accepted. So an event whose HLC is at or below prior_revoked_at passes validity checks — which is not a claim that it is authentic, and this specification does not make that claim.

Three properties bound the exposure, and they are what make it acceptable rather than merely acknowledged:

  1. Scope. Forged events are confined to the compromised node’s own rows. A subkey cannot mint membership, assume a role, vouch, bind transport identity, or issue a successor subkey (section 10.2). The subkey itself therefore opens no escalation path. Whether the attacker has one is a separate question that section 10.2 does not answer: an extraction that came from compromising the node’s own process reaches a software IK_priv at rest in that same process and signs all five directly. This property is stated against an adversary holding the subkey alone, and is load-bearing only under §19.1’s element.
  2. Merge semantics. Per-column last-writer-wins means a backdated forgery loses silently for any column where a peer has already applied an honest event at a higher HLC. The columns actually at risk are those no peer has yet seen an event for above the forged HLC.
  3. Time. not_after caps the window without requiring a revocation to propagate, which is why section 10.1 states a normative bound rather than leaving the window to the implementer.

The removal case. A removed node’s row keeps resolving its signer at or below removed_at_hlc (identity §22.2), and nothing destroys its IK_priv. Whoever holds that key can sign change events dated at or below the cutoff, directly under IK_pub. They verify at every peer, including a peer that joined after the removal. That is the residual above, in the same shape:

  1. Scope. The events are confined to the removed node’s own rows. The freeze refuses every control record under its site_id, so the key mints no subkey, binding, role, vouch or record.
  2. Merge semantics. A backdated event loses per column to any honest later write, as above.
  3. Time. The cutoff caps the window, and no record moves it up. This bound is weaker than a subkey’s: not_after caps a subkey’s window at both ends, while a removed key’s window runs from the node’s pairing to the cutoff.

It is a stronger instance of the residual, not an identical one. A subkey’s loss is this section’s occasion. A removal’s occasion is most often a lost or stolen device, so the surviving key is most likely in an attacker’s hands at the moment the mesh stops trusting it. The shape and the bounds are the same, and the likelihood is higher.

A mesh that requires SOVM-CLOSE gets a fourth bound:

  1. The removal closure. The admin that removes another node lists, per table, the removed node’s events it had applied from its own history floor up to the cutoff (identity §22.3). Every peer then refuses an event of the removed node in a closed window that the list does not name, and quarantines any it had already applied (semantics §13.7). The refusal is the same at every member, so no member’s state for those rows drifts from another’s.

The closure narrows the window. It does not close it, and five things stay open:

  • Forgeries the removing peer itself applied before the act. They are in its list, so they verify everywhere. That is the window of §40.3 and §40.5, a key used before the mesh stopped trusting it, and the human finds those events in the removal’s audit, not through the protocol.
  • Events below a table’s floor, and every event in a table the closure does not name. The removing peer’s history floor and its scope bound the narrowing. Where the removing peer holds the whole history of every table and has evicted none of it, both go to zero. A table whose list would exceed the closure entries bound is one the closure does not name, and the removing peer surfaces it at the act, so the human knows which table stayed open.
  • A node that removed itself. A self-removal carries no closure, because the one key that could sign it is the key the closure would bound (identity §22.3). Its window keeps the three bounds above, and only destroying that key ends it. Succession, which requires the destruction, is how an honest device retires with its history intact.
  • Honest events the removing peer had not applied at the act. They are refused, and surfaced, at every peer. A sync cycle before the act shrinks that set, and no rule in SSP/1 lifts the quarantine.
  • Subkey-signed events at a later joiner. The first limit below stands unchanged: a joiner that built the row from the removal record verifies only what the node signed under IK_pub, whether or not the closure lists more.

Two further limits bound what the removal case preserves for a later joiner.

  • A peer that builds the row from a removal record held no subkey chain for the removed node when the row was built, and the freeze refuses every chain record after it (data model §10.3). There, only the events the node signed under IK_pub itself verify. A genuinely late chain record is indistinguishable from one the key’s new holder backdates, so this cannot be engineered away.
  • A verifier accepts a removal record only while its signer is a currently trusted admin. Once every admin that signed a removal record has itself been removed or dropped from admins, the record reaches no later joiner. That joiner holds no row for the target, and the removed node’s history fails at its apply chokepoint. A closure is verified through the removal it names and under the same signer rule, so it shares that fate and adds no case of its own.

Implementations SHOULD keep validity windows short. Earlier text reserved the narrowing as sequence receipts, a peer-signed record attesting the highest HLC a peer has applied for a node; the removal closure replaces it, because a highest HLC cannot tell an honest event from a forgery at the same HLC, and a closure lists the events themselves. That text declined the narrowing on two claims, and neither holds for the closure. It is not a chained record type: there is one closure per removal, bound to its removal record by identifier, so it has no generation and no predecessor. It needs no coordination round: the removing peer mints it from its own log in the act of removal, so a removal still costs one local act on each peer.

Retirement leaves two residuals, and closes neither of the gaps above.

A predecessor’s vouch can be a vacuous quorum leg, and the seating peer cannot tell. A peer that seats a successor before cutover — the ordinary case — holds no succession record yet, so identity §21.3’s predecessor exclusion cannot bite, and a quorum that includes the predecessor’s vouch counts one operator twice with no local way to know it. What stands between that and a bad seating is identity §21.3 item 2’s human confirmation — mandatory, default deny, reasoning from out-of-band fingerprints — and, on the upgrading node, identity §22.1’s cutover precondition. That precondition is not a defence against a hostile upgrading node, and this specification does not describe it as one: a node that ignores it is a node whose software key an attacker already holds, which is the adversary item 2 exists for.

History survives only as far as the subkey chain a peer held at retirement. The freeze of identity §20.4 refuses every sovm/ssp-eventkey-v1 record for a retired site_id, including a genuinely late one, so events signed under a generation whose record a peer never received stop verifying there permanently. That cannot be engineered away: a late record dated below the cutoff is indistinguishable from the backdated one an attacker holding the retired IK_priv would mint, which is the forgery the freeze exists to stop. A node that completes a sync exchange with each peer before cutover leaves no such gap for those peers; a peer partitioned across the cutover keeps it.

Within those bounds the retained row’s exposure is section 40.7’s, unwidened: the row resolves a kid below a cutoff that cannot move, and grants nothing else.

Retirement does not narrow section 40.3. It is authored by the retiring node about itself, not received from a remote authority, so it supplies neither of that section’s two prerequisites, and a removal is still enforced on each peer only by that peer’s own act.

40.9. One admin’s key is the whole authority

Section titled “40.9. One admin’s key is the whole authority”

The admission authority gives every node the same answer to “who is an admin”. It does not make the answer hard to change. Five residuals follow from its signer rule and its fork rule, and SOVM/1 closes none of them.

Capture. admins is the whole set, not a change to it, and any one admin signs the next link. So one admin can mint a link that names itself as the only admin and drops every other. One compromised admin key captures the whole authority. Naming a second admin protects the mesh against losing a key. It does not protect against a key being stolen, and admin_count > 1 is not a threshold. The capture is attributable: the link that does it is signed.

A forced fork. The same key can mint a second link at a generation the chain already holds. That is a fork. While it stands, the admins every issuer rule reads are the intersection of the branches, which is often empty, and only a human act on each node clears it. For an attacker who can use one admin key once, a fork is a cheap way to stop the mesh minting any record whose issuer the authority names, and to make the owner touch every device. A dropped admin’s key can do this too, because a link that dropped it does not stop it signing a link against a predecessor that still names it. The pin bounds this: such a key forces at most one fork per node per clearing, and none once the branch that dropped it is pinned. That bound is per node and starts at the node’s first clearing, not at the drop. A node that has never cleared a fork holds no pin, so any key the chain has ever named as an admin can fork it at any generation whose predecessor still named that key, for the life of the mesh, until the node pins past that generation. The residual is unbounded in time; the pin bounds how often it can be repeated, not how long it stays open. Both are attributable: two signed links at one generation are portable proof (chained records §13).

A threshold signer rule would close capture and the forced fork together. That would be a new mechanism and a later record, and nothing in this revision forecloses it.

Losing every admin. A mesh whose every admin key is gone can never change its authority again. No link can be minted, so no node can be made an admin, and no record whose issuer the authority names can be minted either: no role, custodian designation, capability requirement or membership authorization. The mesh keeps running on the state it has. It is the same loss a domain with a custodian count of 1 risks, applied to the authority itself. The only mitigation is to name more than one admin before it is needed, which is why an implementation MUST surface admin_count == 1.

The keyring rule is not universal. Every other SSP/1 record resolves its signer through the keyring as a currently trusted peer. An authority link does not: it is verified from mesh_id and the chain alone, so removing or retiring an admin in the keyring does not end its power to sign a link. Only a link that drops it does, which is why the link travels first. A removal that reaches a peer before that link leaves the removed node an admin there until the link arrives.

A removal a later joiner cannot refuse. One admin’s key can sign a removal record for a node that is still live. A peer that holds the node’s row changes nothing on receipt. A peer that never held it, such as a later joiner, builds a verification-only row from the record, so for that peer the live node is removed: its events above the cutoff fail, and its connections and vouches do not count. This is scoped to admins, whom this section already treats as the whole authority. It is attributable, because the record is signed. The live node recovers by re-pairing with that peer under a new identity.

Section titled “40.10. A share link trusts its anchor, and recalls nothing”

A share link rests on one root pinned in a ceremony. SSP/1 does not verify that the node behind that root is the person the sharer meant, beyond the fingerprint the ceremony displays; a recipient that runs a modified implementation keeps, forwards or re-signs what it received, and nothing on the wire can tell. The onward flag is carried, not enforced, and what a host does with it is the host’s. A link ending, by record or by expiry, is future-facing exactly as section 40.1 states: what the recipient holds stays held. Expiry is enforced at the receiving end by the receiver’s own clock, so a receiver whose clock is wrong honours a grant for the wrong length of time; the sender’s own expiry is the other half, and neither can enforce the other’s. A link is one endpoint on each side: a lost endpoint stalls the share until a new ceremony re-anchors it. And a link is visible as a link: a network observer on either path learns that two addresses exchange, when and how much, which section 40.4 already states for every exchange and which the absence of a relay on the path does not change.

These were considered and cut rather than overlooked.

Excluded Why
Batch bundle format A compressed columnar bundle whose identifier is a hash of its bytes is content-addressed only if the writer settings, compression level, row-group size and encoding rules are pinned too; without them, two conforming senders cannot produce the same identifier. SSP/1 defines no bundle format rather than an underspecified one.
PAKE-based pairing A password-authenticated key exchange is specifiable only with a full ciphersuite — group, seeds, message encoding, key schedule. The short-authentication-string and QR authenticators in identity cover the same use case with fully specified constructions.
Shared-mesh-key transport envelope Sealing relay payloads under a shared symmetric mesh key would put a second transport-security mechanism in SOVM/1: where SOP/1 is deployed, MLS already carries group secrets. SSP/1 specifies the mailbox contract instead and leaves confidentiality to the binding.
Plaintext relay payloads SSP/1 has one profile and no plaintext mode: a payload the mailbox operator can read violates the mailbox contract’s opacity requirement.
v0.17.0