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

It may be better to enforce a normative requirement that the versionTime require a UTC offset #112

Closed
daidoji opened this issue Sep 27, 2024 · 2 comments

Comments

@daidoji
Copy link

daidoji commented Sep 27, 2024

From the spec we have the two normative requirements:

  1. The value of versionTime MUST be a timestamp of the entry in ISO8601 format, as asserted by the DID Controller. The timestamp MUST be the time the DID will be retrieved by a witness or resolver, or before.

In order to prevent ambiguity or state conditions between funny time differentials in witnesses and resolvers and controllers that may exist in different time zones, it may be a good idea to not only follow ISO8601 but to require enforcement of mandatory offsets mentioned in the 8601 spec or that all actors resolve the diddoc in UTC.

@swcurran
Copy link
Collaborator

Added to the 0.4 PR currently in process. Thanks — good guidance.

@brianorwhatever
Copy link
Contributor

Completed in #108

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

No branches or pull requests

3 participants