Digital Credential API
From MgmtWiki
Full Title and Meme
The Digital Credential API (DCAPI) is a means to sort out request made to acquire presentation queries from a Verifier and directed them to a device applications that can process the request successfully.
- latest draft of Digital Credentials
- Digital Credentials - Draft Community Group Report last download 2024-08-29
Context
- 2025-06-21 The future of identity is interoperable - and Apple just stepped in support from Apple starts with iOS 26 or 27 - unclear
Security
Treats
The Digital Credentials API—designed to let users present verifiable credentials (like digital IDs or diplomas) directly through their browser—offers exciting potential, but it also raises serious security and privacy concerns. Here are some of the key issues being debated:
- It's unclear what the criteria are for registering a query language that browsers must accept.
- Can an attacker get a bogus language inserted into a browser's list?
- Overexposure of Personal Data - Websites could request more information than necessary, leading to overcollection or misuse of sensitive credentials. Without strict controls, this opens the door to:
- Cross-site tracking based on credential metadata
- Fingerprinting users by the types of credentials they hold
- Browser and Wallet Trust Boundaries
- The API involves two user agents: the browser and the digital wallet. If either is compromised or poorly implemented:
- Malicious sites might trick users into sharing credentials
- Wallets might not clearly show what’s being shared or with whom
- Lack of User Awareness
- Even with permission prompts, users may not fully understand:
- What data is being requested
- Who is requesting it
- Whether they can refuse without losing access
- This creates a consent theater problem—where users click “Allow” without informed choice.
- No Universal Mitigation for All Threats
- Some threats—like websites inferring identity from credential types—don’t yet have clear technical solutions. Mozilla, for example, has raised formal objections, warning that the API could erode user agency and privacy if not carefully constrained.
- “The Web Must Never Demand Your Papers”
- This principle, echoed by W3C’s Technical Architecture Group, warns against normalizing a web where users must prove identity to access content. If misused, the API could lead to a surveillance-by-default internet.
- Registration operation is unclear - will that limit value?
- Could a channel (say BLE) be a decentralized self-describing protocol
Mitigations
Some proposed mitigations
- selective disclosure
- trust lists
- wallet-side policy enforcement
- Common UI from in-person and on-web queries