-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add intent_to_retain to DCQL #321
Comments
Is there a more precise definition of intent_to_retain? If I retain the data for an hour, a year or 2 seconds, are any of these considered retained? What if don't store the value but I derive long lived state from it. e.g I asked for age_over_18, I don't store the value directly but I use it to decide to create a kids account or not. Even more subtle, say I'm an adult website that collects age_over_18 as an anonymous age check, which i don't store, but I do record web traffic logs. As such I would be retaining that the user of a given IP was over 18. As an RP I think we'd need clear guidance on when it should be set. And as a Wallet/OS we'd need to be able to explain to the user what it means when this is true or false Does ISO have a precise definition for it? |
ISO 18013-5 has the following definition for retain: “to store for a period longer |
To me still seems hard for an RP to reason over when to set it and when not too. I think it will be a subjective call and we'll see inconsistent decisions. As such I find it difficult to think how a wallet could show it authoritatively to the user. I think for almost all cases of online presentment there will be some state derived from the data elements that will last longer than real time. Even a simple case of visiting an mature content website which requests age_over_18. Even if they don't store or create any web logs, they will mint a cookie which will record their age status and allow them to browse the website for some period of time. I think an RP would find it hard to figure out if that counts as the retention of derived data or not. Maybe for online this field will almost always have to be set and then it likely ceases to be useful for the user when making informed consent to share the data or not. For In-person presentation I do get that it might be easier (and I'm guessing this is the angle ISO was coming from). E.g going in a bar, a reader might just check your age at the moment and give a yes/no answer with nothing retained beyond that moment. But these situations seems more like the edge case vs the norm, so again I wonder if its just confusing when we also include all the online use-cases. So if we do include this param I think we need to be clear to RPs when they should set it and how they deal with derived data (which i think will be tricky to word) |
WG discussion. Current questions for ISO from this WG:
those who see benefit in this please comment |
from the discussion with ISO:
Below is the text from 18013-5:
|
That sounds like an overlap with the discussion around purpose to me? Would it make sense to try to align the |
The presentation exchange supports the intent_to_retain parameter to indicate whether the RP intends to retain the received data element / claim. A similar parameter should be added to the DCQL.
A solution would be to add it to the claims query, either as a generic option or as an mdoc specific option.
The text was updated successfully, but these errors were encountered: