-
Notifications
You must be signed in to change notification settings - Fork 13
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
Spec should be more specific about implementation details #192
Comments
I find this fairly confusing. What specific text do you want added to the spec and where? |
The normative text is currently too broad to be testable is the issue. It allows for the option to utilize a different proof mechanism to signing the data because it's too broad. For example, an implementer could use the media-type as an HTTP header where the unsigned credential is the JSON payload and use HTTP signatures to secure it. In this scenario, They've opted to ignore RFC7515 as the securing mechanism for the media type, but still are technically compliant because they're using the media type defined here. However, I think we'd all agree this isn't the intention of the spec. So here's the proposed text changes. The spec currently says: JOSE section changesIn section 3.1.1 and 3.1.2:
This should be modified to say:
COSE section changesIn section 3.2.1 and 3.2.2:
This should be modifed to say:
|
I at first thought that MUSTs should be in place where you site, as you do, but that would mean that the spec is contradicting itself. We can't both say that JWS MUST be used to secure a media type and also say that COSE_Sign1 MUST be used to secure the same media type. That's why the MAYs are there. If you have a different suggestion that wouldn't cause the spec to be self-contradictory, I'd be glad to hear it and apply it. |
Would it make sense to differentiate the media types in these scenarios then? Alternatively branch the statement on the serialization format used was the idea I was thinking about when I originally opened it so the text could become something like this:
Similarly we could say the same where it goes |
When we describe conformance profiles for COSE, SD-JWT, and maybe JOSE, per #202 , we can then change the language to a form of "When using the X conformance profile, the payload MUST be secured with Y." |
SGTM - that would be perfect |
The issue was discussed in a meeting on 2024-01-09
View the transcript1.3. Horizontal Review Tracking (issue vc-jose-cose#195)See github issue vc-jose-cose#195. See github issue vc-jose-cose#192. Michael Jones: This is related to issue 192. Manu Sporny: +1 I agree this would address mine and kyles concerns. Brent Zundel: I know review request was submitted in May 2023.
Brent Zundel: TAG has an issue that is design review, that is closed on orie's request because of text changes. Michael Jones: can you add this to Horizontal Review issue 195. |
from w3cping/privacy-request#125 (comment)
The text was updated successfully, but these errors were encountered: