Skip to main content

Proposal: This page presents the draft API and profile model. Send feedback on GitHub.

Before an application starts

Configure each relying party with its own trusted material. A request's embedded identifier is only a lookup key into that configuration.

const config: TrustConfiguration = {
profile: "http6-guide-01",
resourceOrigin: "https://reports.example",
target: "https://reports.example/operate",
issuers: { admission: ["issuer-key"], delegation: ["issuer-key"] },
approvers: { "human-1": ["human-key"] },
appraisers: ["appraiser-key"],
proofVerifiers: ["verifier-key"],
stateAuthorities: ["state-key"],
resources: { "reports-db": ["resource-key"] },
checkpointKeepers: ["keeper-key"],
permittedAppraisalPolicies: ["appraisal-1"],
algorithms: ["Ed25519", "SHA-256"],
maxClockUncertaintySeconds: 1,
allowedActions: ["report-read"]
};

This is SDK configuration pseudocode, not a serialized trust schema. Provision public keys, role bindings, permitted origins, certificate validation, evaluator policies, validity and rotation rules through an authenticated administrative channel. Do not import a key or authorize a ledger merely because a request names it. Resource and state authorities remain independently responsible for their decisions. An SDK should provide protected key handles rather than expose private bytes to application code.

The worked guide profile uses a human-origin example. An autonomous origin requires a separately specified origin certificate and admission policy. It must not be reported as human approval. The example's human key is a public synthetic fixture.