You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wires a real Groth16 proof into the §10 attestation path, exercising the
verified and attestation_failed branches (not just unsupported_scheme).
- circuits/contains_no_pii/: a minimal Circom 2 demo circuit proving a
private field is 0 (PII absent), plus gen.sh and the committed
verification key + a sample proof (heavy ptau/zkey/wasm gitignored).
- @verifiable-okf/attest-zk-groth16: an AttestationVerifier for the
zk-groth16 scheme — decodes the base64 proof and runs
snarkjs.groth16.verify offline (verification key only; no proving key,
no circom, no network). Bundles the contains_no_pii vkey.
- fixtures/signed/with-zk-attestation.md (valid proof → verified) and
with-bad-zk-attestation.md (validly signed, wrong public signal →
attestation_failed).
Tests (5): real proof → verified via the verifier policy; validly-signed
but failing proof → attestation_failed; carrier-only (not required) →
verified; verifier fn valid→true / unknown-circuit→false / wrong-signal
→false. Clean build orders all 5 packages; dist bundles the vkey. Full
suite green (canon 28 + signer 7 + verifier 22 + visualizer 5 +
attest 5 = 67).
Co-authored-by: Mayumi Hara <mayumi@Mayumis-iMac.local>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments