This repository is the authoritative technical specification for the Confium open-source framework for multi-stakeholder threshold cryptography.

It is organized as a collection of focused specification documents. Each spec covers one aspect of how Confium works, with conceptual overview, architectural diagrams (SVG), type definitions, wire formats, behavioral invariants, and references to implementation source.

1. Status

This repository is being generalized from a single 2022 technical report into a multi-spec collection reflecting the current three-mode architecture. The original 2022 report is preserved at report.adoc for historical context.

2. Specification documents

2.1. Architecture overview

2.3. Plugin and primitive contracts

2.5. Operational specifications

3. Diagrams

Each spec includes architectural diagrams in SVG. Source diagrams live in images/ (currently confium-arch.svg, confium-tests.svg, rnp-crypto-arch.svg from the 2022 report).

New diagrams being added in this multi-spec rollout:

  • three-mode-architecture.svg — high-level Mode 1/2/3 layout

  • cnml-tier-hierarchy.svg — BIML → IA → TL/Mfr-Model → Instance

  • async-session-lifecycle.svg — coordinator state machine

  • share-reshare.svg — committee evolution protocol

  • transparency-log.svg — Merkle tree + OTS anchoring

  • mode2-pkcs11-dispatch.svg — PKCS#11 server flow

  • plugin-registry.svgregister_interface! link-time registration

4. Cross-references

5. Anti-goals

  • Not duplicating API reference (RustDoc is canonical)

  • Not duplicating engineering roadmap (TODO.roadmap/ in main repo is canonical)

  • Not duplicating operational runbooks (operator-managed infrastructure/ is canonical)

This repo is for what Confium is (specifications) and how it works (diagrams + behavioral invariants), not for how to deploy it or what’s next on the roadmap.

6. License

BSD-2-Clause. Diagrams are CC-BY-4.0.

7. Authoritative source

The canonical version of this repository is github.com/confium/confium-report.