4.3 · PrivacySpecialist
Predicates and zero-knowledge proofs
A zero-knowledge proof lets a holder convince a verifier that a statement about a signed credential is true, for example “the issuer signed a birth date at least 18 years ago”, without revealing the signature, the other claims or, sometimes, the value itself. A predicate is such a condition. Two things are often confused. An “over 18” field computed in advance gives minimisation without any zero-knowledge proof. What zero knowledge adds is that the proof is new each time, so presentations are not linked by a reused signature.
Proving you are tall enough for the ride by walking under the bar, rather than by showing your passport.
Where it breaks:
- The proof is only as good as the credential behind it.
- The verifier learns that the condition holds, which may itself narrow down who you are.
Zero-knowledge proofs are securing mechanisms which enable a holder to prove that they hold a verifiable credential containing a value without disclosing the actual value such as being able to prove that an individual is over the age of 25 without revealing their birthday.
Zero-Knowledge: If the statement is true, the verifier learns nothing beyond the fact that the statement is correct.
AnonCreds requests predicates directly ANONCREDS-1.0 §9.1. Blinded-signature schemes give a fresh proof per presentation W3C-VC-DI-BBS-1.0 §6.2 DRAFT-IRTF-CFRG-BBS-SIGNATURES-13 §1. Circuit-based proofs take a credential already issued as their secret input, and prove a condition over it EUDI-TS13 §3. Contrast an age answer computed in advance ISO-WG10-18013-5-ED2-WD §13.4.6.
- The verifier sees the statement proved and the claims revealed, and no signature it could share.
- A zero-knowledge proof does not hide what you choose to reveal, and does not make a weak credential strong.
- ANONCREDS-1.0 AnonCreds Specification
- DRAFT-IRTF-CFRG-BBS-SIGNATURES-13 The BBS Signature Scheme
- EUDI-TS13 EUDI Wallet TS13: Specification for the implementation of Zero-Knowledge Proofs based on arithmetic circuits in the EUDI Wallet
- ISO-WG10-18013-5-ED2-WD ISO/IEC 18013-5 second edition, CD ballot resolution v4, published by ISO/IEC JTC 1/SC 17/WG 10
- W3C-VC-DATA-MODEL-2.0 Verifiable Credentials Data Model v2.0
- W3C-VC-DI-BBS-1.0 Data Integrity BBS Cryptosuites v1.0