Build · Path B

BYOI: publish, pin, prove

Before verifying a request, establish which account and verifier the relying service recognizes. Use an authenticated association between that account and the expected verifier before you evaluate the person’s proof.

Path A (org handle) and Path B (authenticator URL) are mutually exclusive on dual-XOR faces: both or neither → reject. That prevents pairing a victim subject with an attacker-supplied authenticator URL.

Quickstart

  1. 1. Publish two files

    Serve the exact public verifier bytes at a retrievable HTTPS URL and a sibling digest file in standard sha256sum format. Public verifiers only: secret-bearing provers stay private.

  2. 2. Pin the sidecar digest

    Use an authenticated enrollment or authority record to establish the expected digest. Match the verifier bytes to that reference before using them. Treat a digest supplied by the requesting party as a locator until the service verifies it against its trusted record.

  3. 3. Challenge → prove → burn

    Issue a fresh challenge and require proof tied to that challenge. Follow the check order for the selected release. In the Gate reference design, consume an eligible nonce in durable state before validating the proof to prevent a second use.

  4. 4. Optional short session

    On success, mint the same session or cookie your APIs already understand. The session is convenience: not the root of identity.

Mechanism claims

Authority expires at the end of each request.Reported implementationThe envelope binds method, endpoint_id, request hash, policy hash, tau, and nonce (one message, one use).Holds under the reference architecture

A consumed request proof is designed to reject replay at the protected boundary.Reported implementationThe nonce is burned before validation in a durable ledger; it is spent even when validation later fails.Holds under the reference architecture

Burn-before-validate is the structural reason a second submission of the same envelope always fails.Reported implementationGate stage 5 spends the nonce in the durable ledger before stage 6 validates the proof.Holds under the reference architecture