Architecture

The whole system, on four diagrams.

Who the parties are, how the two agents work, how a zero-knowledge proof is made and checked, and exactly what Proofly does and does not store.

See it run live →
Verify once
two agents + human sign-off
→
Prove everywhere
zero-knowledge proof
→
Stay compliant
monitor vs real OFAC
01

The parties, and the line documents never cross

documents never cross this line →Regulated IssuerKRA / IFSCA sandboxchecks documents once, then signsCustomer / Holderdevice vaultholds the credential + secret keydocumentssigned credentialProofly (agent layer)Onboarding + Audit agentsdeterministic policy enginerevocation registryaudit hashes only (no content)Holds no documents, ever.Institution Aasks + verifiesInstitution Breuses the proofpresents via agentrequestproof (yes/no)same proof

The issuer is the only party that ever sees raw documents, once. Proofly is infrastructure in the middle that never takes custody of them. Institutions receive a yes/no proof, never a file.

02

Phase 1: two agents that check each other, then a human

Entityto onboardOnboarding Agentfast first passAudit Agentdeep re-verifyPolicy enginedeterministic gateHuman sign-offapprove / stopIssuer mintscredentialsself-correction

The two agents run with different rigor on purpose. The Onboarding Agent is fast and shallow; the Audit Agent independently re-checks secondary identifiers and recursively resolves ownership (OFAC 50% Rule). When they disagree, the Audit Agent sends a correction back. Nothing is issued until a human signs off.

03

Phase 2: how a zero-knowledge proof is made and checked

Issue (once)
  1. Private value becomes a Pedersen commitment C = value·G + blinding·H
  2. Issuer signs (predicate = true, C) with a hybrid Ed25519 + ML-DSA-65 post-quantum signature
  3. Credential lands in the holder's vault
→
Present (each time)
  1. Holder builds a Schnorr / Okamoto proof of knowing C's secret
  2. Bound to the verifier's fresh nonce, so it cannot be replayed
  3. Reveals a boolean, not the value
→
Verify (in-browser)
  1. Check the hybrid issuer signature (classical + post-quantum)
  2. Check the zero-knowledge proof
  3. Check revocation + expiry
  4. Result: one true/false, learned

The underlying number never leaves the vault. A copied credential without the secret fails the zero-knowledge check, and a proof made for one institution cannot be replayed at another. Issuer signatures are quantum-ready (see the live benchmark on the Post-quantum page); all of it verifies client-side on audited @noble libraries, no trusted setup.

04

Trust and custody: what Proofly holds, and what it never touches

Proofly holds
✓ A revocation registry (which credentials are dead)
✓ Hash-chained + Merkle-anchored audit anchors
✓ The agent logic and deterministic policy engine
Proofly never touches
✕ Customer documents (they stay at the issuer + on device)
✕ The private values behind the proofs
✕ Any aggregate cross-institution profile

Monitoring computes where the data already lives (per-institution, or user-side), so no honeypot of documents or aggregate behaviour is ever built. The most valuable target only exists if you centralise the data, and the architecture is designed not to.

05

The issuer signature: quantum-ready by default

Credential payloadpredicate + commitmentEd25519 signclassical (RFC 8032)ML-DSA-65 signpost-quantum (FIPS 204)Hybrid signatureboth, concatenatedVerifiervalid iff BOTH passsignsign64 B3,309 Bverify both
Crypto-agility

The scheme sits behind one interface (SigScheme). Classical, pure post-quantum, or hybrid all swap in without touching the agents, the ZK layer, or the UI. Each credential records its own scheme so verifiers pick the right check.

Why hybrid, not pure PQC

A credential is valid only if both the Ed25519 and the ML-DSA-65 signatures verify, so it stays secure as long as either primitive holds. That is the safe way to migrate while post-quantum algorithms are still young.

Identity credentials are long-lived, so a “harvest now, forge later” attacker could record today's credentials and forge the issuer's signature once a quantum computer exists. The hybrid signature closes that window today. See the measured cost on the Post-quantum page. (The zero-knowledge proof layer is still elliptic-curve; its post-quantum migration to zk-STARKs is honest roadmap.)

Run the live demo →