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

Imprecise definition of what should be secured in a VP #1512

Closed
iherman opened this issue Jun 28, 2024 · 4 comments
Closed

Imprecise definition of what should be secured in a VP #1512

iherman opened this issue Jun 28, 2024 · 4 comments
Assignees
Labels
CR1 This item was processed during CR1 editorial Purely editorial changes to the specification. pr exists

Comments

@iherman
Copy link
Member

iherman commented Jun 28, 2024

In the section "Securing Mechanisms Specifications" the text says (defining what exactly is secured in the case of a VP):

In a verifiable presentation, the property MUST secure the default graph of the presentation as well as every proof graph related to each verifiable credential in the presentation.

But this is not entirely precise. In my view, it should say:

In a verifiable presentation, the property MUST secure the default graph of the presentation as well as each verifiable credential with the related proof graph in the presentation.

Why? In the case of a VP, each credential is a separate named graph, which is then secured by a proof graph (see Figure 9). The original text may be read as if only the proof graphs should be secured, forgetting about the credentials themselves.

(I am happy to make a PR of course, if there is agreement.)

cc @msporny @dlongley

@iherman iherman added the CR2 label Jun 28, 2024
@iherman iherman self-assigned this Jun 28, 2024
@msporny msporny added editorial Purely editorial changes to the specification. CR1 This item was processed during CR1 and removed CR2 labels Jun 28, 2024
@iherman iherman added CR2 CR1 This item was processed during CR1 and removed CR1 This item was processed during CR1 CR2 labels Jun 29, 2024
@msporny
Copy link
Member

msporny commented Jun 29, 2024

@iherman I'm fine with your language, though we might ALSO want to point to @dlongley's new text in DI on the matter, which is more generalized:

https://w3c.github.io/vc-data-integrity/#proof-graphs

We can fine tune the language once you've been able to raise a PR; please raise a PR.

@iherman
Copy link
Member Author

iherman commented Jul 1, 2024

@iherman I'm fine with your language, though we might ALSO want to point to @dlongley's new text in DI on the matter, which is more generalized:

https://w3c.github.io/vc-data-integrity/#proof-graphs

I do not think it is appropriate; this would become a dependency on DI.

Actually... I wonder whether it is not the other way round. The text in the DI spec is a bit general (and that is perfectly fine), and the definition of what has to be secured in the case of VCs and VPs is in the VCDM spec, ie, this is where the generality of DI becomes more specific.

We can fine tune the language once you've been able to raise a PR; please raise a PR.

Raised #1515.

@iherman
Copy link
Member Author

iherman commented Jul 2, 2024

The (accepted) comment from @dlongley reuses his terminology, and does not point to the DI text. That indeed sounds fine!

@msporny
Copy link
Member

msporny commented Jul 9, 2024

PR #1519 has been merged to address this issue, closing.

@msporny msporny closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR1 This item was processed during CR1 editorial Purely editorial changes to the specification. pr exists
Projects
None yet
Development

No branches or pull requests

2 participants