H3 · Using a digital credentialIntroductory
Sharing: what you are asked for, what you can refuse, what the other side keeps
When a website or a counter asks for a credential, your wallet shows you who is asking and exactly what they want. You can refuse. If you agree, your wallet sends only what was asked for, when the credential allows it: “over 18” rather than your birth date, your licence class rather than your address. The other side receives a digital copy of what you sent, and can keep it.
Look at what is asked for before you agree. A request for more than the task needs is a reason to stop. Your wallet can show only what the request names; it cannot shrink a request that asks for too much.
What you send is made for this request at this moment. If someone copies it and tries to use it elsewhere, it fails, because it carries a one-time value the requester chose.
Showing your card across a counter.
Where it breaks:
- The other side receives a copy, not a glance, and can store it.
- You can often show part of the card and hide the rest.
- What you show is made for this one request, so a copy is useless elsewhere.
Showing part of a credential OPENID4VP-1.0 §15.4, and keeping two requesters from linking what you showed each of them OPENID4VP-1.0 §15.5.
What a presentation is W3C-VC-DATA-MODEL-2.0 §3.3.
- The requester sees what you send, and can keep it. The organisation that issued the credential is not told, unless checking whether it was withdrawn reaches it (H4 Who can see what).
- Your wallet cannot control what the other side does with what you sent. That is for the law, and for the terms you agreed to.
- OPENID4VP-1.0 OpenID for Verifiable Presentations 1.0
- W3C-VC-DATA-MODEL-2.0 Verifiable Credentials Data Model v2.0