-
Notifications
You must be signed in to change notification settings - Fork 116
Address Jeffrey Yasskin's review comments that are Editorial #1464
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
Conversation
index.html
Outdated
<dd> | ||
Defined in Section [[[#credential-subject]]]. | ||
</dd> | ||
<dt>proof</dt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems odd to me to list proof
as a property defined in this specification
then point to data integrity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed from this list in ea0bfb8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sigh, the official preview was not regenerated, so this is still in the list. Just to be cautious for reviewers...
<p> | ||
A [=verifiable credential=] can be extended to have addition properties | ||
through the extension mechanism defined in Section [[[#extensibility]]]. | ||
</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe the proof property could be mentioned here instead, as an example of an additional property included via an extension mechanism?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We link to the VC-DATA-INTEGRITY spec in the Securing Mechanisms section, so we're probably fine to just not include it in this part of the spec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with not mentioning proof
here.
properties such as `initialRecipient` (a/k/a `issuee`), `presenter`, | ||
`authorizedPresenter`, `holder`, etc. The associated vocabulary URL MUST be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we have `initialRecipient` (a/k/a `issuee`)
as well as `authorizedPresenter`
.
It seems like these should perhaps be added to the VCDMv2 reserved terms list.
I am also concerned that confidenceMethod
is itself severely underspecified, and does not appear to discuss any of the above properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Editor hat on) The description of confidence method is problematic. Given that almost no work has gone into it since it was introduced, I'm hesitant to reserve properties that it contemplates (that aren't documented at all).
(Digital Bazaar hat on) We have found use cases where confidence method is useful, so expect it to be more fully formed in time. However, for the time being, I'd rather not do anything about this issue in this PR.
We might want to raise another issue about confidenceMethod
... or just deal with it when we have to make a judgement call on reserving it or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @TallTed that issuee and authorisedPresenter should be reserved terms (even if their formal definitions are not included in the specification)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @msporny that this should be dealt with in a separate issue.
7a96f9e
to
9d2560e
Compare
/cc @jyasskin Finally got around to applying all 39+ editorial changes you requested to VCDM v2.0. |
properties such as `initialRecipient` (a/k/a `issuee`), `presenter`, | ||
`authorizedPresenter`, `holder`, etc. The associated vocabulary URL MUST be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @TallTed that issuee and authorisedPresenter should be reserved terms (even if their formal definitions are not included in the specification)
index.html
Outdated
<dd> | ||
Defined in Section [[[#credential-subject]]]. | ||
</dd> | ||
<dt>proof</dt> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sigh, the official preview was not regenerated, so this is still in the list. Just to be cautious for reviewers...
<a data-cite="?VC-IMP-GUIDE#creating-new-credential-types"> | ||
Creating New Credential Types</a> in the [[[?VC-IMP-GUIDE]]]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a side issue, not closely related to the review. The latest official version of the impl guide is from September 19, which is ancient history in terms of the spec. I realize that there has been changes (the editor's draft dates from September '23), which is better. I believe we should re-publish that WG Note draft (and set up Echidna to handle the changes) roughly when this document goes to a new CR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, agreed. If we re-publish it as an updated NOTE, we should make a full Editorial pass... there is guidance in there now that is VERY OLD and should be updated.
index.html
Outdated
`digestSRI` or `digestMultibase` value. | ||
</dd> | ||
</dl> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new section "smells" like defining a new type, in RDF sense, for a related resource. At the moment, in the vocabulary, the range of a relatedResource
property is IRI, i.e., the only restriction on the property is that it is a an object property (as opposed to a datatype property). This bullet list seems to indicate that we want a new type (RelatedResource
), in the domain a number of properties.
Do we want to formalize that in the vocabulary? Note that the last statement ("MUST contain at least a digestSRI
or digestMultibase
value") would require some OWL wizardry, which we probably should not include in our (simplified) vocabulary. Note also that this would require some changes in the DI vocabulary, because that is where digestMultibase
is defined.
(If we agree these changes should happen, I am happy to come up with new PR-s at some point.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we formalize that, we should probably formalize both relatedResource
and its type in the security vocabulary. It makes more sense for it to go over there than for it to be defined by the VCDM. If we make this decision, we'll need to make it quickly and affect the change quickly so that we can lock the tests down for CR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am happy to do either way... in any case, both vocabularies will have to be updated.
I would propose to (1) have this PR merged and (2) have DI PR-s, especially w3c/vc-data-integrity#258 handled and possibly merged before doing this. I do not want stupid merge conflicts...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that this addition is not editorial. As one example, it pulls the use of digestMultibase into the VCDM specification, which I object to, per previous discussions. Please remove these non-editorial additions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was requested, by a rep from Google, that this section was cleaned up to align with the other sections.
In doing so, I consolidated all the existing normative requirements in a way that matches the other sections in the specification. The digestMultibase
value was an at-risk feature, along with digestSRI
, as specified here (see the at risk text starting with "Unification of cryptographic hash expression formats are under discussion" which was added when this section was added to the specification):
https://pr-preview.s3.amazonaws.com/w3c/vc-data-model/pull/1464.html#integrity-of-related-resources
Please concretely identify which normative assertions didn't exist in the specification before the change.
properties such as `initialRecipient` (a/k/a `issuee`), `presenter`, | ||
`authorizedPresenter`, `holder`, etc. The associated vocabulary URL MUST be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @msporny that this should be dealt with in a separate issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the work!
The issue was discussed in a meeting on 2024-04-24
View the transcript5.1. Address Jeffrey Yasskin's review comments that are Editorial (pr vc-data-model#1464)See github pull request vc-data-model#1464. Manu Sporny: the big ones for VCDM 2.0 are the editorial changes from J. Askin's (sp) proposed changes. Having more eyes on this would be helpful. Brent Zundel: reviews of VCDM 2.0 has received positive reviews. Manu Sporny: he will merge the VCDM 2.0 this weekend. Get your comments in! |
by that identifier. | ||
</li> | ||
<li> | ||
The `id` [=property=] MUST NOT have more than one value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the statement that the id
must have only one value being deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wasn't deleted, it was collapsed into a more succinct description:
https://pr-preview.s3.amazonaws.com/w3c/vc-data-model/pull/1464.html#dfn-id
Co-authored-by: David Chadwick <[email protected]>
Co-authored-by: Ivan Herman <[email protected]>
Co-authored-by: Dave Longley <[email protected]> Co-authored-by: Michael B. Jones <[email protected]>
92d28c1
to
a3bdbb4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small things...
The issue was discussed in a meeting on 2024-05-01
View the transcript2.2. Address Jeffrey Yasskin's review comments that are Editorial (pr vc-data-model#1464)See github pull request vc-data-model#1464. Brent Zundel: This is Manu's healthy response to a very thorough review from Google's AC rep, Jeffrey Yasskin. Ted Thibodeau Jr.: I believe all of my stuff is editorial. Brent Zundel: Mike you were perhaps saying "don't do this at all"? Michael Jones: I am ok with the vast majority of this. I'm requesting that the text elevates multihash into normative usage be struck because that's not appropriate in an editorial PR. Brent Zundel: The one issue I'm running into -- with the additional commits and changes ... trying to find the comments. Down in line 3155, if folks want to read along. That's a conversation we want to have. Gabe Cohen: I believe it would be more neutral to say that you can use a digest property defined by the securing mechanisms. Dave Longley: my memory of consensus was that implementers could use either, and we'd see how that goes. Brent Zundel: the digestMultibase in the Data Model does not point to an unspecified thing, but to something we have published. Dave Longley: +1 to brent. Ted Thibodeau Jr.: Mike, you are objecting to a thing called multihash which isn't in this document. Michael Jones: Ted Thibodeau Jr.: That appears to not be as significant a change as you're making it be. Michael Jones: Gabe, thank you, you are correct, I have no objection to
Michael Jones: With respect to using that at all, with respect to DI standardizing Dave Longley: just a clarification, there are pieces of the SRI spec did have to be added to our vocabulary earlier.
Brent Zundel: Since the changes to section 5.3 of related resources is the piece under contention, and I will reach out to Manu here too, the suggestion is that the changes to this section be removed from this PR and made a separate PR that can be further discussed so it doesn't hold up all of the other myriad changes that do not have opposition. Michael Jones: Absolutely, once that text is gone, I'll approve. Brent Zundel: I'll let Manu know we can put those changes in a separate PR. |
Co-authored-by: Ted Thibodeau Jr <[email protected]>
I have reverted all changes to Section 5.3: Integrity of Related Resources (in commit 150bfbb) and raised those changes in PR #1484 for further discussion. |
Editorial, multiple reviews, most changes requested and made, objections by @selfissued reverted and moved to PR #1484, no remaining objections, merging. |
This PR is an attempt to address issue #1348 by fixing a large number of editorial concerns that @jyasskin raised.
Specifically:
1. Introduction
1.1 What is a Verifiable Credential?
1.3 Use Cases and Requirements
3.2 Credentials
4.1 Getting Started
4.2 Contexts
4.3 Identifiers
4.4 Types
proof
was removed from this section in a previous PR.5.1 Lifecycle Details
5.2 Trust Model
5.3.1 Semantic Interoperability
5.4 Integrity of Related Resources
5.5 Refreshing
5.11 Ecosystem Compatibility
6.3 Proof Formats
7. Privacy Considerations
7.3 Personally Identifiable Information
7.4 Identifier-Based Correlation
7.5 Signature-Based Correlation
7.6 Long-Lived Identifier-Based Correlation
7.8 Favor Abstract Claims
7.9 The Principle of Data Minimization
7.11 Validation
7.12 Storage Providers and Data Mining
7.14 Usage Patterns
8.3 Content Integrity Protection
relatedResource
feature. Fixed in 8d9a315.A.1 Credential Type
Preview | Diff