-
Notifications
You must be signed in to change notification settings - Fork 97
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
made validFrom optional, fixes #1133 #1168
Conversation
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'm a bit unsure about this PR, but not going to block it if we have a good use case. Curious to understand the use case where one can't specify a validFrom
date? I'm not sure how we're supposed to interpret a VC that doesn't have a validFrom
date.
If validFrom
is not present, but the proof clearly has a date on which it was created, can the verifier presume that as the validFrom
date? If they can't presume that, then is the VC valid for all time leading up to the validUntil
date? If there is no validFrom
or validUntil
date, then the VC is valid for all time?
If we have answers to the questions above, we should write them down in this PR. If we don't, then I'm a bit more concerned about the ecosystem issuing VCs that don't have any validity periods, or how those validity periods are going to be interpreted differently by different verifiers. Feels like an interop problem?
IMO, it is unnecessary in a lot of cases. IMO, we have the chance to remove bloat and
My interpretation would be if there is no Unless (and that is not specific to making
|
@msporny also updated the PR to reflect the case when valid from and valid until are both not present. |
But it's vital in other cases, e.g., coupons. It is important, when considering features of this global standard, not to force one's own use cases onto the world. Just because you don't have any use for |
I was not suggesting to drop |
Normative, multiple reviews, changes requested and made, no objections, merging. |
closes #1133, made
validFrom
optional (also fixed JSON schema)Preview | Diff