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

Add expires example to proof. #314

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

msporny
Copy link
Member

@msporny msporny commented Oct 2, 2024

This PR is an attempt to address issue #313 by adding a proof to the specification that uses the expires property.

/cc @filip26


Preview | Diff

Copy link
Member

@TallTed TallTed left a comment

Choose a reason for hiding this comment

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

Attempting to increase the clarity of the title

@@ -926,6 +926,27 @@ <h3>Proofs</h3>
representing time values to individuals.
</p>

<pre class="example nohighlight"
title="A proof attached to a data document that uses the 'expires' property">
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
title="A proof attached to a data document that uses the 'expires' property">
title="A proof that uses the 'expires' property, attached to a data document">

Copy link
Member

Choose a reason for hiding this comment

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

or

Suggested change
title="A proof attached to a data document that uses the 'expires' property">
title="A data document with an attached proof that uses the 'expires' property">

"type": "DataIntegrityProof",
"cryptosuite": "ecdsa-rdfc-2019",
"created": "2020-06-11T19:14:04Z",
<span class="comment">// the proof expires a month after it was issued</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<span class="comment">// the proof expires a month after it was issued</span>
<span class="comment">// the proof expires a month after it was created</span>

"cryptosuite": "ecdsa-rdfc-2019",
"created": "2020-06-11T19:14:04Z",
<span class="comment">// the proof expires a month after it was issued</span>
<span class="highlight">expires": "2020-07-11T19:14:04Z"</span>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<span class="highlight">expires": "2020-07-11T19:14:04Z"</span>,
<span class="highlight">"expires": "2020-07-11T19:14:04Z"</span>,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants