Skip to content
Registry StackDocsDevelopment (unreleased)

Evidence Gateway overview

View as Markdown

Evidence Gateway answers one predefined question about one or more subjects and returns a signed minimum answer. The caller receives the answer needed for an authorized purpose, not the authoritative record that settled the answer.

sequenceDiagram
    participant C as Caller
    participant E as Evidence Gateway
    participant A as Durable audit
    participant R as Authoritative registry

    C->>E: Request one predefined answer
    E->>A: Record authorized access
    E->>R: Make one fixed source request
    R-->>E: Return the source record
    Note over R: The authoritative record stays here
    E->>E: Derive the minimum answer and sign it
    E->>A: Record what was disclosed
    E-->>C: Return the signed answer
    C->>C: Verify before using the answer

The authoritative registry remains the source of truth. Evidence Gateway makes the fixed request defined by the provider, derives only the reviewed answer, and does not return the source response to the caller. The caller verifies the signature and retained transaction expectations before using the answer.

The audit trail records the authorized access and the released disclosure. The audit trail does not repeat the source record, prove that the source fact was true, or automatically provide a complete citizen-facing history of registry access.

Get your first Evidence Gateway assertion starts a small Python registry that you control. You use its OpenAPI description to author an adult-status question, send a real HTTP request with curl, and verify a signed boolean answer. The source response contains a name and date of birth; the verified assertion contains neither.

The tutorial uses disposable local trust and synthetic data. The local profile keeps authentication, bounded source access, signing, verification, and audit active while the Evidence Gateway tooling handles development process orchestration.

Start with the first assertion, then adapt the same workflow to your institution’s OpenAPI source. The provider decides the authorized purpose, subject mapping, derivation, and permitted answer. OpenAPI describes transport and data shapes but cannot make those governed decisions.

Return a governed value first extends the same local project with a non-boolean answer. The second tutorial demonstrates that minimum disclosure depends on the purpose and can return a reviewed value when a boolean is insufficient.

See Evidence Gateway refuse unsafe changes then tests the same boundary with an unauthorized purpose and a modified signed response.

When you are ready to use your own system, draft an Evidence Gateway source from OpenAPI, then add only the project-specific fixtures your reviewers need. Build a reviewed candidate only after that local work is complete. Registry Mint is optional when the deployment has no suitable OIDC issuer.

Retain the request expectations and trusted issuer keys before the response arrives. Verify the stored response against that independent context, then expose the verified answer to application logic.

Verify Evidence Gateway as a consumer continues the local journey with every service stopped. Then manage verifier trust through an independent onboarding and rotation process. SD-JWT VC is an optional second serialization of the same assertion.

Bind the provider-approved definition to production identity, source trust, signing keys, and durable audit storage. The operator owns readiness, key rotation, audit-chain verification, retention, backup, and recovery.

Verify and interpret the Evidence Gateway audit chain covers the integrity proof, event phases, privacy-preserving pseudonyms, and the current lack of a supported citizen history query.

Evidence Gateway does not decide whether an institution has legal authority to use a source, whether a purpose is legitimate, or whether a source record is true. Those decisions and assurances come from governance, authorization, and the authoritative institution. A valid signature proves who signed the exact assertion bytes and whether the assertion matches the retained verification expectations.

Evidence Gateway is separate from Registry Relay. Registry Relay exposes protected, selected records. Evidence Gateway contacts its own configured authoritative HTTP sources and retains its own authorization, derivation, signing, verification, and audit boundaries. Registry Mint is optional supporting infrastructure that supplies short-lived caller tokens when a deployment has no identity provider.