RFC-0025: Distributed Quorum Recovery¶
Status: Proposed; extends RFC-0021 without changing its format.
Owner: Format and security leads.
Last updated: 2026-11-29
Context¶
RFC-0021 recovers a quorum recipient by bringing at least threshold
custodian private keys into one process. In practice custodians are
different people in different places, and policy often forbids moving a
private key at all. Recovery should need only each custodian’s
participation, never their key.
Binding decision¶
Three additions in cryptography_suite.providers.quorum:
RecoveryCeremony(coordinator) holds an ephemeral HPKE identity, ML-KEM-768 + X25519 when the backend supports ML-KEM (RFC-0017) and X25519 otherwise. Attached to aQuorumRecipientProvider(ceremony=...), an open that lacks shares records oneShareRequestper missing custodian (never twice for the same envelope and position) and fails withCAPABILITY_UNSUPPORTED; oncethresholdreleases have been accepted, the same open succeeds. Local custodian identities and released shares combine.close()wipes released shares.ShareRequestis JSON (cs-quorum-share-request/1) with the request id, quorum provider, key and version, share index, custodian fingerprint, share algorithm, the SHA-256 of the envelope’s protected bytes, the ceremony’s public key, and the encrypted share. It contains nothing secret. Parsing is strict: exact fields, types, bounds, canonical base64.release_share(request, identity)runs on the custodian’s machine. It refuses a request addressed to another custodian, decrypts only that custodian’s share with the RFC-0021 share binding recomputed from the request’s fields (so a request altered to name another envelope, quorum, or position failsAUTHENTICATION_FAILED), and returnscs-quorum-share-response/1JSON holding the share re-encrypted with HPKE to the ceremony key, bound to"cryptography-suite/v4 quorum share release" || 0x00 || request_id || share binding. The share is never in the clear outside that call.
The coordinator authenticates each release against its request; a release
cannot answer another request. After reconstruction, the RFC-0021
integrity tag authenticates the result, so a corrupted release is
AUTHENTICATION_FAILED.
Security consequences¶
No custodian private key leaves its owner. Each custodian learns only their own share; the coordinator learns the
thresholdshares it combines, as in any Shamir recovery, and wipes them onclose().Requests carry the envelope digest so custodians can log exactly what they released for; authorizing a release is the custodian’s decision.
Transport needs no confidentiality: requests are public, and releases are encrypted to the ceremony key (post-quantum hybrid where available).
Test and validation requirements¶
tests/integration/test_quorum_ceremony.py plays every party with only
JSON text between them: a 2-of-3 recovery, local identities combined with
releases, more releases than needed, a corrupted release caught by the
integrity tag, custodians refusing foreign or altered requests (another
envelope, quorum, position, or ciphertext), strict request validation, the
coordinator refusing tampered, misdirected, and malformed responses, the
classical ceremony key without ML-KEM, and closing a ceremony.