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

Verifiable Credentials 2.0 #533

Open
kayaelle opened this issue Jun 1, 2023 · 4 comments
Open

Verifiable Credentials 2.0 #533

kayaelle opened this issue Jun 1, 2023 · 4 comments

Comments

@kayaelle
Copy link
Contributor

kayaelle commented Jun 1, 2023

VC 2.0 is inching it's way towards release. It may be a good idea for the group to start reviewing the changes and considering:

https://www.w3.org/TR/vc-data-model-2.0/

One big change is the switch from issuanceDate to validity period: https://www.w3.org/TR/vc-data-model-2.0/#validity-period

@clehner
Copy link

clehner commented Jul 20, 2023

As well as validity period (issuanceDate/expirationDate -> validFrom/validUntil),
and the new base context URL (https://www.w3.org/ns/credentials/v2),
id properties now must be URLs (https://www.w3.org/TR/vc-data-model-2.0/#identifiers); I think this invalidates use of UUID URNs (urn:uuid:...) as in the OB3 examples.

@amiller-ims
Copy link
Collaborator

It was discussed recently here: w3c/vc-data-model#1160. In particular, see this comment: w3c/vc-data-model#1160 (comment)

Yes, discussed to death at W3C between the years of 2008-2018 or so. Ultimately, that resulted in this specification:

https://url.spec.whatwg.org/

... which is now the normative specification for "URLs" for the Web... where URLs include things like URIs and URNs.

In other words, you can continue to use URNs such as those in the OB3 examples.

@clehner
Copy link

clehner commented Jul 20, 2023

@amiller-ims thank you for the correction.
I see now a URN is in the URL spec examples
https://url.spec.whatwg.org/#example-url-components

@ottonomy
Copy link
Contributor

id properties now must be URLs (https://www.w3.org/TR/vc-data-model-2.0/#identifiers); I think this invalidates use of UUID URNs (urn:uuid:...) as in the OB3 examples.

What about our use of data URIs in id properties for things like Image.id. Schema.org has a contentUrl property that we could fall back on if the use of data URIs in id fields is disallowed.

@clehner what's your take on this? Has anybody brought up that data URIs are often used in properties that expect an identifier?

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

No branches or pull requests

4 participants