-
Notifications
You must be signed in to change notification settings - Fork 26
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
message based interaction / DIDComm #168
Comments
This relates to a major privacy discussion in the closing days of the DID Core spec w3c/did#324 It's desirable to avoid fingerprinting and traffic analysis by keeping the entropy of a DID and DID Document as high as possible. This means limiting the content of the DID Document to only those elements that involve control. Ideally, a DID would control only one service endpoint. Should that service endpoint be a messaging (inbox) or an authorization server? In an AS first world, inbox access would look like any other request for authorization. Note also that there are many reasons for a resource server to want to message the RO. This happens when the RS gets a valid access authorization but an exception occurs such as a jurisdictional issue or a decision that the client is untrusted for some reason. In US healthcare law, for example, the RS MAY ask the client for a signed software statement and if the client certificate does not provide an adequate root of trust then the RS MUST notify the RO (a "black box warning") and allow the RO to override the client trust issue. This, in effect, looks like a messaging channel between the RS and the RO that can be mediated by the AS. |
-> Target for an extension (+need to check how to best define extension points) |
See also #221 |
The general principle is layed out in section 4, but without any specific details. |
Since we now have worked a solution for standard interactions #164 (which is nice when end-user = RO), we could now review if more advanced scenarii make sense.
There's another case which is not complex, you don't even need an interaction (then end-user != RO but RO is a rule engine from an organisation).
But I see at least 2 more advanced cases:
-> Use case 1 : on first use, a message (signed by the AS) is sent from the client, on behalf of the end-user (for instance a doctor) to a recipient (the RO, for instance a patient). The patient could choose to allow a one-time access or more durable access (probably limited to a maximum time), in which case we fallback on the no interaction case seen above for similar follow-up requests.
-> potential start methods : DIDComm, DIDComm query, RCS messaging, email, etc. (probably need to limit to secure channels though...). Note that DIDComm was already discussed as a possibility in oauth.xyz (interaction section).
The details of how that communication would work is not straightforward.
The text was updated successfully, but these errors were encountered: