How cooperating ledger operators order decisions · Chapter 4 of 8

3. Confidentiality on a Certified Public Surface

On this page
  1. Tier 1: Public Structural Metadata (Consensus and Ordering Layer)
  2. Tier 2: Broker-Scoped Encrypted Policy Attributes (Qualification Layer)
  3. Tier 3: Custodian-Scoped Payload Pointers (Execution Layer)

Placing every request, endorsement, and outcome onto a shared, certified ledger creates an immediate tension between auditability and confidentiality. If all participants, including the ledger operator, external auditors, and competing workloads, can read the certified surface to verify ordering and consensus, publishing raw request parameters or custodian payloads in plaintext would cause catastrophic data disclosure. An adversary observing the public ledger could harvest proprietary business logic, personally identifiable information, or sensitive query parameters simply by reading the transaction stream, even if the custodian refused to execute the request.

Conversely, encrypting the entire ledger entry opaquely would blind the policy brokers, preventing them from verifying that the requested operation complies with the human principal's pinned policy and preventing auditors from verifying consensus invariants.

To resolve this tension, the ledger record format implements selective encryption, canonical digest commitments, and out-of-band encrypted reference pointers, partitioning each ledger entry into three visibility tiers:

Tier 1: Public Structural Metadata (Consensus and Ordering Layer)

Visible to the ledger operator and all network observers to support ordering, replay protection, and revocation enforcement without revealing business semantics:

  • Protocol version, ledger sequence number, and authority epoch ee.
  • Sender instance public key fingerprint and target service identifier.
  • Cryptographic digests (SHA-256) of the canonical policy commitment dpolicyd_{\text{policy}}, lineage chain dlineaged_{\text{lineage}}, and operation payload dopd_{\text{op}}.
  • Nonce/position identifier and permit expiration timestamp texpt_{\text{exp}}.
  • Cryptographic signatures of the submitting agent, endorsing brokers, and responding custodian.

Tier 2: Broker-Scoped Encrypted Policy Attributes (Qualification Layer)

The specific operational coordinates required by the policy brokers to evaluate the 7-tuple predicate (α,β,τ,π,δ,κ,ω)(\alpha, \beta, \tau, \pi, \delta, \kappa, \omega), such as the canonical action verb, target resource URI, data classification tag, and bounded parameter summary, are encrypted under a Hybrid Public Key Encryption (HPKE, RFC 9180) envelope targeted exclusively to the authorized policy broker quorum and the designated resource custodian.

To prevent a malicious agent from encrypting one set of benign parameters for the broker while sneaking a different set of malicious parameters to the custodian, the plaintext canonical attributes MpolicyM_{\text{policy}} are bound via a hiding cryptographic commitment (using a high-entropy random blinding salt r←{0,1}256r \leftarrow \{0,1\}^{256}):

Cattr=SHA-256(JCS(Mpolicy)∥r).C_{\text{attr}} = \text{SHA-256}\big(\text{JCS}(M_{\text{policy}}) \parallel r\big).

The commitment CattrC_{\text{attr}} is placed in the public Tier 1 header, while the blinding salt rr and plaintext MpolicyM_{\text{policy}} are sealed inside the HPKE ciphertext. Because rr contains 256 bits of fresh entropy, an external observer inspecting CattrC_{\text{attr}} on the public ledger cannot perform a dictionary or brute-force guessing attack against low-entropy parameter values (such as account numbers, boolean flags, or standard file paths). Meanwhile, both the policy broker and the resource custodian decrypt the HPKE envelope, recompute SHA-256(JCS(Mpolicy)∥r)\text{SHA-256}(\text{JCS}(M_{\text{policy}}) \parallel r), and verify exact equality with the public header commitment CattrC_{\text{attr}} before acting.

Tier 3: Custodian-Scoped Payload Pointers (Execution Layer)

Large payloads, sensitive document contents, and custodian return data never reside directly on the certified ledger, even in encrypted form. Instead, bulk payloads are stored in an access-controlled, encrypted content-addressed object store (or transferred via a dedicated, recipient-pinned encrypted storage bucket) encrypted under a one-time symmetric content-encryption key KpayloadK_{\text{payload}} wrapped exclusively for the designated recipient's public key.

The ledger entry carries only an opaque reference pointer consisting of:

  1. The content-addressed storage URI or object handle,
  2. The SHA-256 integrity digest of the ciphertext, and
  3. The SHA-256 digest of the underlying plaintext payload (salted with a 256-bit nonce).

When the resource custodian completes an authorized read or computation, it writes the encrypted result to the designated recipient's isolated storage sink, wraps KpayloadK_{\text{payload}} for the recipient's admitted instance key, and posts the signed outcome receipt OO containing the reference pointer to the ledger. Neither the ledger operator nor the policy brokers ever gain access to KpayloadK_{\text{payload}} or the underlying sensitive data, while the ledger still preserves an immutable, cryptographically verifiable proof that the exact payload corresponding to the authorized request was delivered to the exact permitted sink.