CONF-1 — Conformance Profiles and Test Vectors#
Version 0.2.5-draft · Part of the AllowedBy specification set
1. Profiles#
| Profile | Who | MUST implement |
|---|---|---|
| runtime | Agent runtimes | OAID-3 issuance at tier 0 (tier 0 passports never renew); ABY-2 §3 proof (Ed25519 or ES256); ABY-2 §8 challenge handling; ABY-2 §9 rebind; ABY-1 attenuation for sub-agents; AMH-1 §5 polling. A runtime claiming tier 1 also implements OAID-3 renewal and OAID-6 tier 1 with at least one hardware attestation type. |
| verifier | Services | ABY-2 §5 steps 1–10 in full: chain verification, human_sig with the full WebAuthn checks and human.reg, initiator, status with per-class freshness, staleness ceiling and fail-closed, class and lifetime from the route map, ABY-3 constraints, shared replay set, single-use consumption; OAID-5 trust list; challenges per ABY-2 §6; both EdDSA and ES256. |
| node | Nodes | OAID-2 statement (node key and role keys) and endpoints; OAID-3 issuance with none and orchestrator attestation; OAID-4 log, log promises, C2SP checkpoints, tiles and witnessing; ABY-1 countersigning, attenuation, rebind, revocation and status lists; AMH-1 §3–§5 approval endpoints, initiator derivation and forwarding. |
| node-verified | Nodes selling L2 | node plus OAID-7 L2 with at least one listed provider, re-verification, disclosure (SD-JWT VC encrypted to the audience); OAID-6 at least tpm2 or one cloud KMS attestation. |
| home-node | Nodes enrolling humans | node plus OAID-7 §4 human registration (human.reg, authn from attestation and FIDO MDS), pairwise human ids, building the grant core and display, the approval page (approval-page profile), receiving forwarded approvals and returned grants, AMH-1 §11 wallet. |
| approval-page | Pages, when separate from the home node | AMH-1 §6 items 1–11 and §6.1 step-up hand-off. |
2. Claiming conformance#
A party claiming conformance MUST state the profile and the set version. Until the vectors (§4) are published, a claim MUST be marked "self-tested".
3. Mandatory behaviours checklist#
Verifier:
- [ ] Rejects a document from a node absent from the trust list, and any document signed by a key listed in
revoked_keysafter its log index. - [ ] Verifies the proof against the leaf grant's
actor.key, never a looked-up key, and rejects it after the leaf'sactor.exp(actor_expired). - [ ] Accepts proof
iatin[now − 120 s, now + 60 s]only; rejects a(kid, jti)seen within 300 s, across all instances for non-safe methods. - [ ] Rejects a valid envelope re-sent to a different URL or method, with a different body, or with a different
Allowed-Byvalue; normaliseshtuagainstpublic_origin. - [ ] Verifies every grant in the chain,
human.regon the root andhuman_sigwith every WebAuthn check (ABY-1 §3.3):type == "webauthn.get", challenge =SHA-256(JCS(core))or the batch challenge,origin == https://<rp_id>,rpIdHash == SHA-256(rp_id), UP and UV set, signature withhuman.reg.key; rejects a chain with a revoked ancestor. - [ ] Requires
nbfin every grant. - [ ] For
write-hardandirreversibleroutes, requiresinitiator.by == "service"with one of its ownkids. - [ ] Rejects
audience"*"or not naming the service. - [ ] Derives the class from its route map and rejects a grant whose lifetime exceeds the class maximum (
class_lifetime_exceeded). - [ ] Fails closed (
status_stale) forwrite-hardandirreversiblewhen its status list is older than 60 s, and forreadandwritewhen it is older than 3600 s. - [ ] Rejects a grant whose constraints are not satisfied by the actual request;
amountis decimal, same currency, no FX;countandamount per: grantare totalled under the rootgid. - [ ] Consumes a single-use grant atomically and rejects its second use; checks
request_digestover method, URL, query and body. - [ ] Caps the level at
min(human.level, human.reg level, max_level of the countersigning node, max_level of the home node), treating a level 3 registration withoutauthn: hardwareas level 2. - [ ] Enforces the route's own level (0–3),
level_profileagainsthuman.reg.level_source.profile, and, when set,qeswithclasseu_qes(qes_required). - [ ] Checks linked humans by the pair
(human.reg.iss, human.id). - [ ] Rejects envelopes over 8 KiB or with more than two JWS, a chain deeper than 1, counted before any JWS is parsed (
envelope_too_large, ABY-2 §2). - [ ] Answers expired or revoked grants with
401and a challenge when it can re-approve; uses403only for policy refusals. - [ ] Never fetches node material synchronously on the request path.
Runtime:
- [ ] Never writes a tier 0 private key to persistent storage.
- [ ] Includes
bdhon every request with a body (content as transmitted), and omits it when there is none. - [ ] Sends exactly one
Allowed-Byvalue: a grant chain or its passport, never both. - [ ] Signs with the leaf grant's key; sub-agents use their own keys.
- [ ] Presents the human the
summaryand bindingcodeverbatim with the approval link. - [ ] Never creates a runtime-initiated approval for
write-hardorirreversible. - [ ] Stops sending a grant at its
expor itsactor.exp, rebinding first where allowed. - [ ] Does not re-request within 10 minutes after
not_meorunknown_agent.
Node:
- [ ] Refuses tier 0 key reuse.
- [ ] Requires
uv=1for L1 and above. - [ ] Logs every passport, grant revision, revocation, vouch, approval and human registration, and keeps every
log.idxpromise. - [ ] Produces checkpoints at least every 10 s while the tree grows and obtains the configured cosignatures within 10 min.
- [ ] Publishes conflicting checkpoints it has witnessed at
{witness}/conflicts. - [ ] Never logs names, emails, phone numbers, raw attestation evidence or provider responses.
- [ ] Takes
disclosure_keyonly from the audience's well-known; accepts onlyhttpscallbacks on the audience host. - [ ] Derives
initiatorfrom the caller's authentication; refuses a service-initiated request whoseaudienceis not exactly the signing origin. - [ ] Forwards the request, never a core, to the home node, and sends the countersigned grant back to it (
POST {approvals}/{aid}/grant). - [ ] Generates 128-bit random
aidvalues and a bindingcode; approval lifetime default 15 min, maximum 60 min. - [ ] Rebinds only per ABY-2 §9: proof by the new passport's key, plus
prevchain or a validoperator_sig(aby-operator+jwt,aud= this node,exp ≤ iat + 300, key from the operator's/.well-known/oaid-operator); never single-use grants or grants with children.
Home node:
- [ ] Uses its approval origin as the passkey
rpId; serves the page matching the publishedpage_hash. - [ ] Issues pairwise
human.idvalues per audience. - [ ] Builds the core and
displayitself from the audience's templates and constraint members; never signs or displays a core built elsewhere. - [ ] Accepts forwarded approvals only from nodes in its trust list; at most 30 pending per human.
- [ ] Authorises every new credential for an existing human by an assertion from an existing credential, logs it and shows it in the wallet.
- [ ] Lists all of the human's grants with one-tap revoke and revoke-all-for-operator.
- [ ] Classes a credential
hardwareonly from a verified attestation chaining to the MDS3 entry for its AAGUID, with hardware or secure-element key protection, no compromise or revoked status, and BE = 0; fetches MDS3 itself and never re-serves it (OAID-7 §4). - [ ] Applies the ceiling of the source actually used (OAID-7 §5.1): never level 3 from a precursor wallet, an unnotified or vendor-mapped scheme, document-and-selfie proofing, or a chip read without active authentication.
- [ ] Writes only
type,loaandprofileinlevel_source; keeps scheme, country and evidence digest in the identity record; never fillsaddressornationalityfrom a source that did not provide them. - [ ] For
qes, reads the certificate before hashing, binds the authorisation to the JWS signing-input hash, fetches OCSP within 10 minutes ofsigT, checks the subject against the identity record, and never presents a class other thaneu_qesas QES (OAID-7 §10).
4. Test vectors#
Vectors are JSON files under vectors/, generated deterministically by vectors/generate.py. Implementations MUST NOT edit them by hand; regenerate and diff.
| File | Contents |
|---|---|
keys.json |
Ed25519 and P-256 test keys for nodes (node key and role keys), runtimes, witnesses, an operator, a service, an orchestrator, programs and a human passkey (with a deterministic WebAuthn assertion builder) |
jcs.json |
RFC 8785 canonicalisation cases |
node-statement.json, service.json |
Statements with role-key delegation and revoked_keys; the verifier's configuration (route map, templates, keys) |
human-reg.json |
An oaid-human+jwt registration with rp_id, and the pairwise ids for two audiences |
passport.json, passport-issuance.json |
Passports (tier 0, tier 1, renewal chain); issuance requests with nonces and orchestrator evidence, renewals, and refusals |
grant-core.json, display.json |
Grant cores with display and initiator, their JCS bytes and WebAuthn challenges, the batch challenge; display built from service templates |
human-sig.json, grant.json, chain.json, request-digest.json |
Assertions and human_sig (including every WebAuthn refusal), standing, single-use, batched and child grants |
rebind.json |
Revisions 0, 1 and 2 of one gid (each with its own jti), via prev chain and via operator_sig, and refused rebinds |
proof.json, envelope-9421.json |
Full requests with the proof JWT and with the RFC 9421 Web Bot Auth profile, each with the expected acceptance tuple or status and code: replay, retarget, audience, level, constraints, iat bounds, actor_expired, alg/typ/kid confusion, oversize |
status.json, revoked-ancestor.json |
Status lists, stale-list behaviour per class, revoked grant, human.reg and ancestor |
challenge.json |
Challenges for grant_required (service- and runtime-initiated), passport_required, a 403 policy refusal and a 503 |
approval-states.json |
AMH-1 §5 state machine (every allowed and forbidden transition), polling, creation rules |
log.json |
A log of 8 entries, C2SP checkpoints at sizes 4 and 8, inclusion and consistency proofs, two witness cosignatures, conflicting checkpoints, log promises |
trust-list.json |
A trust list exercising pinned node keys, programs, denied, vouching depth 2 and witnesses_min |
vectors/verify.py is a reference verifier that checks every case. Hardware attestation evidence (tiers 1 and 2) is not covered; its formats are vendor-defined.
5. Interoperability events#
The project will hold interoperability sessions where at least two independent node implementations, two runtime implementations and two verifier implementations exchange the vectors above and live traffic. The first set version to pass such an event becomes 1.0.0.
Change log#
Every change to this document adds a row here and increments its version (README, Versioning).
| Version | Date | Change |
|---|---|---|
| 0.2.5-draft | 2026-11-28 | Checklist: a chain is at most depth 1 (two JWS), as ABY-1 §4 and ABY-2 §2 now say; the vectors are chain-depth.json. |
| 0.2.4-draft | 2026-11-18 | Checklist: MDS3 classification, source ceilings, level_source, level_profile, QES assembly (CHANGES §24). |
| 0.2.3-draft | 2026-10-28 | Checklist: levels 0–3 per route, qes (CHANGES §17). |
| 0.2.2-draft | 2026-10-27 | §4 lists the actual vector files and the reference verifier (CHANGES §16). |
| 0.2.1-draft | 2026-10-27 | Checklist and vector list aligned with the second review fixes (CHANGES §15). |
| 0.2.0-draft | 2026-10-27 | One verifier profile; checklist rewritten for 0.2 (CHANGES §8, §13). |