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

query language requirements discussion: purpose of the request? #160

Closed
Sakurann opened this issue Apr 25, 2024 · 7 comments · Fixed by #266
Closed

query language requirements discussion: purpose of the request? #160

Sakurann opened this issue Apr 25, 2024 · 7 comments · Fixed by #266

Comments

@Sakurann
Copy link
Collaborator

Should a verifier be able to specify a purpose why it is requesting a specific credential? (multiple comments, not sure what is the direction)

@bc-pi
Copy link
Member

bc-pi commented Apr 26, 2024

from @dwaite over at #144 (comment) : " ... - the purpose string has issues around user presentation (such as the lack of any localization) as well as concerns about abuse (such as providing conflicting messaging to the wallet to socially engineer the user to release sensitive PII).

As such, I would suggest that a query syntax allow for other mechanisms to indicate purpose, such as (for examples) an index into issuer-provided purposes, generic localized handles for common purposes, or information gathered during determination of a verifiers authorization to request a credential and any restrictions on scope of usage."

@David-Chadwick
Copy link
Contributor

It's not an essential feature because the user will usually be aware of the transaction they are undertaking with the RP, and will therefore be aware of the likely credentials that are being requested. The only time I can see value in it, is if the RP is asking for a credential that is not intuitively needed (from the perspective of the user).

@awoie
Copy link
Contributor

awoie commented Apr 26, 2024

I think free text without localization is not a good direction for defining purpose. Something like this https://kantara.atlassian.net/wiki/spaces/archive/pages/3508305/Appendix+CR+-+V.9.3+-+Example+Purpose+Categories might be more appropriate to second what @bc-pi said above.

@jogu
Copy link
Collaborator

jogu commented Apr 26, 2024

Just to clarify: this issue is about whether the query language should support this feature at all (and to clarify what the feature is), not about whether it is mandatory to implement or optional.

So for example in that context I read David Chadwick's comment above as being supportive of the query language having this feature, and he may wish to clarify if that was not the intention :)

@David-Chadwick
Copy link
Contributor

To clarify, given that it is not an essential feature, I do not mind it being removed in the interests of simplification. In my opinion this feature is bells and whistles rather than definitely needed.

@selfissued
Copy link
Member

The purpose of the request seems fairly orthogonal to the rest of the query. If present, I would assert that it shouldn't affect the query result, and like intent-to-retain, it is at best ecosystem-specific. We should start without this.

That said, I do support the query language being extensible, using the standard "must ignore if not understood" treatment of parameters by recipients. This purpose could be expressed via such an extension parameter, when desired, as could intent-to-retain.

@Sakurann
Copy link
Collaborator Author

Sakurann commented May 2, 2024

WG: need clearer requirements (informed consent etc) to decide if this is a requirement (to decide if obstacles like multilingual/free string need to be solved as all or not)

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.

6 participants