4.2 · PrivacyWorking
Unlinkability, in four directions
Unlinkability means that presentations of the same credential cannot be connected beyond what the holder agreed to. There are four directions to ask about: one verifier across visits; two verifiers comparing records; the issuer learning where a credential is used; and the issuer and a verifier pooling what they know. With hash-based selective disclosure, the same signature and digests travel every time, so a credential issued once is linkable in the first two directions. Issuing several single-use copies, each with fresh keys and salts, closes those two. The fourth cannot be closed by a salted-hash scheme at all, because the verifier holds the issuer’s own signature and can pass it back; that needs zero-knowledge proofs (4.3 Predicates and zero-knowledge proofs).
Choose what an RFC 9901 credential shows, and watch who can still link it, with one credential and with a batch of copies.
Paying with the same banknote twice: anyone who notes the serial number can link the payments.
Where it breaks:
- A single-use copy is like a fresh note each time, but the issuer printed every note and may know which notes are yours.
- A note carries nothing about you; a credential’s revealed claims may.
Issuer/Verifier unlinkability with a careless, colluding, compromised, or coerced Verifier cannot be achieved in salted hash-based selective disclosure approaches, such as SD-JWT, as the issued credential with the Issuer's signature is directly presented to the Verifier, who can forward it to the Issuer.
In all cases, unlinkability is limited to cases where the disclosed claims do not contain information that directly or indirectly identifies the user.
Several single-use copies are issued in a batch OPENID4VCI-1.0 §14.6; the issuance and presentation protocols each discuss correlation OPENID4VCI-1.0 §15.4 OPENID4VP-1.0 §15.5; the data model names identifier-, signature- and metadata-based correlation W3C-VC-DATA-MODEL-2.0 §8.4 W3C-VC-DATA-MODEL-2.0 §8.5 W3C-VC-DATA-MODEL-2.0 §8.6; and a status list must not undo it DRAFT-IETF-OAUTH-STATUS-LIST-21 §12.5.
| Direction | One credential, hash-based | Single-use copies, hash-based | Zero-knowledge proofs |
|---|---|---|---|
| One verifier, across visits | Can link RFC9901 §10.1 | Cannot, if each copy is used once RFC9901 §10.1 | Cannot W3C-VC-DATA-MODEL-2.0 §5.7 |
| Two verifiers, comparing records | Can link RFC9901 §10.1 | Cannot RFC9901 §10.1 | Cannot W3C-VC-DATA-MODEL-2.0 §5.7 |
| The issuer, with an honest verifier | Cannot, unless a status check calls back about this credential RFC9901 §10.1 | As for one credential RFC9901 §10.1 | Cannot W3C-VC-DATA-MODEL-2.0 §5.7 |
| The issuer and a verifier, together | Can link RFC9901 §10.1 | Can link RFC9901 §10.1 | Cannot W3C-VC-DATA-MODEL-2.0 §5.7 |
- In every direction, what the holder reveals can link presentations by itself: a tax number links them whatever the mechanism.
- Single-use copies do not stop the issuer and a verifier, together, from linking a presentation to its issuance.
- DRAFT-IETF-OAUTH-STATUS-LIST-21 Token Status List (TSL)
- OPENID4VCI-1.0 OpenID for Verifiable Credential Issuance 1.0
- OPENID4VP-1.0 OpenID for Verifiable Presentations 1.0
- RFC9901 Selective Disclosure for JSON Web Tokens
- W3C-VC-DATA-MODEL-2.0 Verifiable Credentials Data Model v2.0