AEGIS by ProtoworksDevelopers
Menu

4.4 · PrivacyWorking

Selective disclosure is not zero knowledge

Both let a holder show less than the whole credential, so they are often treated as one thing. They are not. Hash-based selective disclosure hides the values you withhold, but sends the same signature every time. Zero-knowledge schemes send a proof that is new each time, and the signature never leaves the wallet. The table sets out what follows from that difference.

In full

How to choose. If the threat is a verifier learning more than it needs, hash-based selective disclosure is enough, and it is the most widely deployed. If the threat is verifiers comparing records, single-use copies close it at the cost of issuing and storing many copies. If the threat includes the issuer and a verifier pooling what they know, only the zero-knowledge columns close it.

Precisely

SD-JWT only conceals the value of claims that are not revealed. It does not meet the security properties for anonymous credentials

RFC9901 §10.1

This issue applies to all salted hash-based approaches, including mDL/mDoc [ISO.18013-5] and SD-CWT [SD-CWT].

RFC9901 §10.1
Compared
Four ways to show less than the whole credential
Hash-based (SD-JWT, mdoc)Hash-based, single-use copiesBlinded signatures (AnonCreds, BBS)Circuit proofs over an existing signature
What the verifier receivesThe signed token or object, and the revealed values RFC9901 §4The same, from a fresh copy OPENID4VCI-1.0 §14.6A proof derived from the signature, and the revealed values W3C-VC-DATA-MODEL-2.0 §5.7A proof that the wallet holds a valid credential meeting a condition EUDI-TS13 §3
Signature reusedEvery time RFC9901 §10.1Once per copy RFC9901 §10.1Never: each proof is new W3C-VC-DATA-MODEL-2.0 §5.7Never: the credential is the secret input EUDI-TS13 §3
Linkable by one verifier, or two comparing recordsYes RFC9901 §10.1No RFC9901 §10.1No W3C-VC-DATA-MODEL-2.0 §5.7 W3C-VC-DI-BBS-1.0 §6.2No EUDI-TS13 §3.1
Linkable by the issuer and a verifier togetherYes RFC9901 §10.1Yes RFC9901 §10.1No W3C-VC-DATA-MODEL-2.0 §5.7No EUDI-TS13 §3.1
PredicatesOnly answers computed in advance ISO-WG10-18013-5-ED2-WD §13.4.6As for one credentialYes ANONCREDS-1.0 §9.1Any condition the circuit expresses EUDI-TS13 §3
Standing in the registerA standards-track RFC RFC9901 §4A final specification OPENID4VCI-1.0 §14.6A draft by its own status ANONCREDS-1.0 §9.1; a candidate recommendation draft W3C-VC-DI-BBS-1.0 §6.2An exploratory technical specification EUDI-TS13 §3
Who can see what
What this does not do
  • Neither approach hides the values you reveal.
Verified against
  • ANONCREDS-1.0 AnonCreds Specification version 1.0, checked 2026-10-28
  • EUDI-TS13 EUDI Wallet TS13: Specification for the implementation of Zero-Knowledge Proofs based on arithmetic circuits in the EUDI Wallet version 1.0.1, checked 2026-10-28
  • 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 version CD ballot resolution v4, dated 2025-09-14 (the latest of the three second-edition drafts in the repository at b250e7a), checked 2026-10-28
  • OPENID4VCI-1.0 OpenID for Verifiable Credential Issuance 1.0 version 1.0, checked 2026-10-28
  • RFC9901 Selective Disclosure for JSON Web Tokens version RFC 9901, checked 2026-10-28
  • W3C-VC-DATA-MODEL-2.0 Verifiable Credentials Data Model v2.0 version 2.0, checked 2026-10-28
  • W3C-VC-DI-BBS-1.0 Data Integrity BBS Cryptosuites v1.0 version 1.0, checked 2026-10-28

Last reviewed 2026-10-28. Next review 2027-04-28. Every quotation is checked against the text it quotes, at the version named, before the page is published.