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

Align created property with DI spec (making it optional) #86

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

Wind4Greg
Copy link
Contributor

@Wind4Greg Wind4Greg commented Jul 1, 2024

This PR addresses issue #73. It does this by basing the DataIntegrityProof proof contents on those in the Data Integrity specification where the created attribute is optional.


Preview | Diff

Comment on lines -375 to -376
The `created` property of the proof MUST be an [[XMLSCHEMA11-2]]
formatted date string.
Copy link
Member

@TallTed TallTed Jul 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't make the created property optional; it drops all reference to it. I would expect something like this —

Suggested change
The `created` property of the proof MUST be an [[XMLSCHEMA11-2]]
formatted date string.
The `created` property of the proof is OPTIONAL; if present, it MUST be an
[[XMLSCHEMA11-2]] formatted date string.

Copy link
Member

@msporny msporny Jul 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to remove it... the spec text states that the base requirements come from DI, and the requirements listed here are ADDITIONAL requirements. IOW, if we kept your text @TallTed -- we'd be duplicating normative statements across DI and the EdDSA cryptosuite.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK; I overlooked that this was replicating DI.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(But I submit that the title of this PR should be changed accordingly.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done (title of PR updated).

@msporny msporny changed the title Make "created" property optional Align created property with DI spec (making it optional) Jul 15, 2024
@msporny msporny added editorial This item is editorial in nature. CR1 labels Jul 15, 2024
@msporny
Copy link
Member

msporny commented Jul 15, 2024

Editorial, multiple reviews, changes requested (but not made with agreement), no objections, merging.

@msporny msporny merged commit 7c42917 into w3c:main Jul 15, 2024
2 checks passed
@msporny msporny added normative This item is a substantive or normative change. and removed editorial This item is editorial in nature. labels Jul 15, 2024
@Wind4Greg Wind4Greg deleted the fix-created-prop branch December 9, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CR1 normative This item is a substantive or normative change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants