-
Notifications
You must be signed in to change notification settings - Fork 12
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
Should we have a common and interoperable definition of request types and their privacy properties? #117
Comments
Ah, I realize that this may be a duplicate of #85. Feel free to close as a duplicate if you believe so too. |
I don't think it's a complete duplicate of #85 - 85 appears to be about credential types, whereas this issue appears to be about request types (there's definitely some overlap though, as I think you need the credential types to be able to cover this issue). Is at least a sub-part of the problem the question "Could Chrome hardcode requests for age brackets via a registry?". If it is, then I'm struggling to really see how that's possible/easy, at least for cases where the user's age is legally required. For example a UK based verifier needing to verify a user's age will accept at least:
which is probably at least 2 different credential formats, 30+ accepted issuers. Assuming we wouldn't want to hardcode these requirements (but instead give verifiers a sensible set of queries they can compose) and that those requirements (which are for photographed physical documents) would be the same in a digital credentials world, then I think Chrome would then need hardcoded queries for:
Is that the direction we're talking about going? Where it gets particularly fun is that there's a whole second set of documents that can be used if the user doesn't have one from the above four:
If we assume all those things eventually become digital credentials, then we're looking at 18 request types just to cover the UK over 18 use case. Or potentially (if it turns out there's some standardised list of documents usually used for this in the UK) 1 huge query that could return any of those things but potentially places a burden on all verifiers to support all 18 credential types. Or maybe there's some "covers 90% of verifiers & users" cases to try and keep things simple. |
I was thinking about that this morning, since I was also reading that in some states to verify age it's permissible to use even expired documents. Wouldn't it also make sense to include like student IDs from recognized universities? Other than that, @npdoty what do you think about privacy/discrimination side? |
Discussed at the 2024-06-21 hybrid meeting (raw notes).
|
I think, currently, the request type layer (e.g. Presentation Exchange) is de facto part of the protocol layer (e.g. OpenID4VP) and at least in openid4vp, it is totally possible to define a static |
@samuelgoto how did you want to proceed with this one? |
We discussed in the last CG call how to handle registries, and I think we realized as a group that there are two layers here: the protocol layer (e.g. OpenID4VP) and the request type layer (e.g. Presentation Exchange).
We understand the former layer better than the latter, so we were discussing whether we should have a common definition of request types.
Chrome currently accepts two types of requests:
The benefit of the former is that it allows well-understood and anticipated use cases to have a user experience that is meaningful and comparable to the privacy risks that are involved. The drawback is that they have to be well-understood and anticipated.
The benefit of the latter is that it allows verifiers and holders to request/respond anything without asking for the browser's permission. The drawback is that the browser falls back to the worse case scenario in its privacy threat model, and imposes a higher friction UI for users.
We expect the former group to grow over time, from use cases from the latter: innovation happens with the latter, and when things settle and they are both (a) well understood and (b) in high demand, they move to the former group.
The open question is whether (a) it is possible or (b) desirable to have a common and interoperable registry of these request types that browser vendors agree on.
The text was updated successfully, but these errors were encountered: