Skip to main content

Module admission

Module admission 

Source
Expand description

Proof replay admission and challenge manager wiring.

“Admitted once” means once per replay admission domain — the complete set of verifier instances that can admit requests for one service domain — never once per node (§4.6). A deployment satisfies that with exactly one of three shapes, and every store must say which one it is:

  1. a single verifier instance;
  2. a shared store with linearizable check-and-insert; or
  3. per-node stores with mandatory replay-namespace-affine routing, where failover to a node holding no history for that namespace denies rather than admits.

v16 credentials are Reusable-only: replay admission is keyed by the proof, so many fresh proofs may use one credential. The OneShotTransaction credential-use profile and its atomic consume-once path were cut from v16 scope (operator decision DECISION-defer-oneshot-credentials-2026-08-20) and are deferred to a future amendment.

Structs§

CredentialReplayKey
Opaque namespace and identity digests for a one-use source credential. This is separate from holder-proof request IDs, so consuming a login token cannot collide with a later Registry/Model proof admission.
InMemoryProofReplayStore
In-memory replay store for a deployment with exactly one verifier instance.
MediatedQueryReplayKey
A read-only authorization query derived from one holder-signed request. Separate from dispatch admission: list handlers may check several resources for one request, but the same derived query is admitted only once.
ProofReplayKey
The replay admission key: (signer namespace thumbprint, request_id).
SingleVerifierLease
An exclusive, process-lifetime lease proving this process is the sole verifier for a replay admission domain (§4.6, shape 1).

Enums§

ProofAdmissionResult
The outcome of a replay admission check.
ReplayDomainGuarantee
How a deployment satisfies domain-wide “admitted once” (§4.6).

Traits§

ProofReplayStore
Proof replay admission store.

Functions§

admit_mediated_query
Admit a bounded mediated query under the installed store’s topology.
admit_request_proof
Admit one request proof, enforcing the domain guarantee before the store is consulted.
global_challenge_manager
global_proof_replay_store
hold_single_verifier_lease
Park an acquired sole-verifier lease for the process lifetime.
set_global_challenge_manager
Install a challenge manager for the process.
set_global_proof_replay_store
unattributed_thumbprint
Compute the frozen CDDL §7.1 content-bound unattributed replay namespace. This bounded structural helper does not verify signatures or grant admission.
validate_mediated_query_dimensions
Validate mediated-query dimensions on borrowed values, before any owned copy is materialized for the replay key (Sol finding: resource/operation were copied ahead of these checks).