Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a version to the protocol identifier, and making it a URN #363

Open
timcappalli opened this issue Dec 4, 2024 · 0 comments · May be fixed by #381
Open

Adding a version to the protocol identifier, and making it a URN #363

timcappalli opened this issue Dec 4, 2024 · 0 comments · May be fixed by #381
Assignees
Milestone

Comments

@timcappalli
Copy link
Member

timcappalli commented Dec 4, 2024

The W3C Digital Credentials API specification will have a registry. In this registry, protocols will be normatively mapped to their respective specifications.

In the API itself, the protocol identifier is passed in the request as the protocol field, currently: openid4vp.

In #326, we've been discussing how two types of requests (signed vs unsigned) may want to have different protocol identifiers, as the top level contents of the request differ significantly. So having a type appended to the identifier can help (ex: openid4vp-signed).

One thing that is missing is the protocol version. When we inevitably end up with different versions of the specification, the protocol identifier needs to accurately represent the request payload. One can imagine sending two versions of the same request in the event the user only has a wallet that speaks an older version of the protocol.

To support both a version number (this issue) and request type (#326), I've proposed that the DC API use URNs for protocol identifiers: WICG/digital-credentials/issues/191.

Example for a signed request v1.0: urn:openid:spec:openid4vp:v1.0:signed.

@Sakurann Sakurann added this to the Final 1.0 milestone Dec 5, 2024
@awoie awoie self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants