Normative · Part
The shared substrate
Abstract
Section titled “Abstract”Both layers of SOVM/1 are built from the same five mechanisms, and this part is their one normative home: a mechanism stated once cannot drift into two, where a share of it restated per layer can.
What is defined here is defined once: a layer page that needs one of these mechanisms references this part and states only its own instantiation choices — which records it signs, what context it binds, where padding applies. A layer page MUST NOT restate a rule defined here, and where a layer page appears to state a substrate rule, this part governs.
Conventions
Section titled “Conventions”The requirement keywords and the encoding rules are the specification’s conventions. Vocabulary shared with the layers is terminology. This part restates neither.
The five mechanisms
Section titled “The five mechanisms”| Mechanism | Where |
|---|---|
| The signature container and its one suite | Signature profile |
| The hash convention | Section 1 below |
| The context principle | Section 2 below |
| The chained-record schema | Chained records |
| The padding function | Padding |
The shapes these mechanisms give a record are written once more, in CDDL, in
/spec/cddl/substrate.cddl. That file is normative, each layer’s
schema is checked appended to it, and the signature profile
renders its rules.
1. One hash
Section titled “1. One hash”SOVM/1’s single hash is BLAKE3. What it is applied to depends on the structure. A signed structure is hashed over its signed input. A stored or encrypted structure is hashed over its exact bytes. Neither is ever hashed over a re-encoding, a parsed value or a normalised form.
; The one hash (/substrate/ section 1): BLAKE3, 32-byte output, over the; signed input (the RFC 9052 Sig_structure) of a signed structure and over the; exact bytes of a stored or encrypted one.blake3_hash = bstr .size 32A COSE_Sign1 record is identified by BLAKE3 over its RFC 9052
Sig_structure, which is the input its signature covers. That identifier is
record identity:
event_id, object_manifest_hash, the
predecessor of every chained record, the links of
the authorization chain,
and previous_receipt_hash in the
sequencing-receipt chain.
storage_id is BLAKE3 over the
exact encrypted object bytes, and it is additionally pinned to the iroh-blobs
BLAKE3 hash of those bytes. An encrypted record has no signed input, so its
ciphertext is what is hashed.
Neither layer maintains a second hash namespace, and an implementation MUST NOT introduce one. Signed input and exact bytes are two inputs to one hash, and both land in one namespace. Two signatures over one signed input are one record with one identifier. Where two signed inputs differ, their identifiers differ.
2. One context principle
Section titled “2. One context principle”external_aad carries what the verifier must supply rather than trust.
A record is signed over context the receiving side provides from its own state
— at minimum the verifier’s own 16-byte mesh_id, and in the object plane
richer per-record context: storage identity, domain, key generation. The
context is never transmitted with the record. A record replayed outside its
context therefore fails signature verification, not a policy check layered
above it.
Each layer states, per record type, exactly what its external_aad contains.
What no layer may do is bind nothing, or bind a value the sender supplied.
3. What this part is not
Section titled “3. What this part is not”This part defines mechanisms, not meaning. Which records exist, what they authorise, when they are emitted and how they converge is the business of the layer parts. An implementation cannot conform to the substrate alone; the substrate is the floor under every conformance module: none of it may become optional.