How protected artifacts can survive process restarts and support subsequent private computation, with explicit limits on trust and disclosure.
A private computation often answers a single question. If two parties later need a different statistic over the same matched records, repeating the whole data preparation and matching workflow can be expensive. A reusable protected artifact is an alternative to repeating the join or exporting its plaintext result. KryptRoom explores that design in a bounded two-party experiment.
Separate the state descriptor from the protected data
A RoomState describes an immutable computational state. It references its parent states, protected artifacts, transition, policy and cryptographic context. Artifact descriptors contain public information such as shapes and types and identify the local encrypted material using digests. The descriptor is not itself the secret dataset. A digest binds content; it does not provide confidentiality or authenticate the organization that created it.
What persistence means in the two-party experiment
In the M2 private join, the SecretFlow SPU produces a secret match mask and two masked feature grids. Each KryptNode stores only its own shares of these three values. Native SPU serialization is wrapped in AES-256-GCM using separate local keys. The authenticated envelope binds the participant, room, state, artifact and cryptographic context. The protected artifacts are not a compact plaintext table of matched rows.
A restart is a useful test
The M2.5 acceptance separates creation from consumption. In the creation phase, two nodes process local synthetic CSV inputs and persist S1. Both containers are removed. In the second phase, fresh containers receive only the node-local state directories, not the source CSVs. They check the commitment and artifact digests, reload the local shares and perform a narrow continuity computation. Only the authorized aggregate is reconstructed. Later M3 experiments use the same persistence mechanism for scalar analytics.
A worked lineage example
Imagine that S1 contains a protected join. An eligible analysis can consume S1 and create S2, whose descriptor records S1 as a parent. Another experiment can use S1 as a parent for a different operation. In the documented M4 lineage, training produces S3 and evaluation consumes the ordered pair S3 and S1 to produce S4. This is a graph of immutable descriptors, not a claim that arbitrary branching workflows are production-ready.
What the experiment does not establish
The implementation relies on two-party semi-honest computation and trusted hosts. Encryption at rest does not protect a share from a compromised host holding its key. Exclusive creation and integrity checks do not establish distributed crash atomicity, anti-rollback, organizational signatures or production key rotation. Output policy must still account for inference from authorized results. The public showcase does not load or compute on these artifacts.
Read the architecture record, private analytics design, and security boundaries.
Editorial disclosure: This draft was prepared with AI assistance from the publicly documented KryptRoom experiments. The responsible human author must review and stand behind its accuracy before publication. Examples are illustrative.
Top comments (0)