-
Notifications
You must be signed in to change notification settings - Fork 23
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
Response Encryption : Why HPKE without JSON envelope #310
Comments
I think there's 3 separate points that are probably being mixed together here:
|
As discussed on DCP Call, currently the JARM encrypts the |
As discussed on the WG call today, I'd propose to initially add a small note in the JARM section that clarifies the different options from JOSE and explicitly points to HPKE as one such option. Switching from the current variant to encryption on the level of individual credentials is something that needs a bit more discussion and also has some dependencies on features currently getting discussed like wallet attestation as part of the authorization response (and where exactly it resides). |
To illustrate, currently we do:
The suggestion is to:
|
First draft from @GarethCOliver on how the HPKE + JWE encryption might look like: AuthorizationResponses that contain an ISO mDoc MUST be encrypted using HPKE (RFC 9180) using:
To enable this, AuthorizationRequests that include a credential of format mso_mdoc MUST include client_metadata
@bc-pi said the last bullet point does not really make sense. |
WG call: @ve7jtb said let's not do this because this will create incompatibility and complexity. there was an agreement from others. |
as discussed here, agreed to do this post final 1.0, changing the milestone to 1.1 |
The encryption for The Digital Credential Response should be specified in detail to ensure interoperability. Since the API is one-shot and doesn’t allow for negotiation, there should be a single encryption method. Negotiation would lead to privacy leaks.
Why HPKE ?
The text was updated successfully, but these errors were encountered: