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

Update examples to reference the W3C VCDM v2, Data Integrity, and VC JOSE COSE #297

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

decentralgabe
Copy link

@decentralgabe decentralgabe commented Oct 25, 2024

Fix #5

Spec references:

There may be some small errors in the examples but I hope this enough to get started.

@decentralgabe decentralgabe requested review from David-Chadwick, jogu, selfissued, Sakurann and awoie and removed request for David-Chadwick October 25, 2024 19:26
@decentralgabe
Copy link
Author

cc: @msporny @brentzundel @OR13

Copy link

@msporny msporny left a comment

Choose a reason for hiding this comment

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

Overall, LGTM.

Non-blocking feedback... I wonder if the prefix should be "di" instead of "dip", we've never really used "dip" before, we tend to use "di".

/cc @dlongley @davidlehn

@dlongley
Copy link

+1 and I agree that di is the more frequently used prefix.

decentralgabe and others added 3 commits October 25, 2024 14:56
@@ -30,7 +30,7 @@
"format": {
"type": "object",
"patternProperties": {
"^jwt$|^jwt_vc$|^jwt_vp$": {
"^jwt$|^jose_vc$|^jose_vp$|^cose_vc$|^cose_vp$|^sdjwt_vc$|^sdjwt_vp$": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similar question as above about including sdjwt_vc and sdjwt_vp here.

Copy link
Author

Choose a reason for hiding this comment

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

updating to the VCDM v2 requires selecting a securing mechanism. one of those mechanisms is VC JOSE COSE which defines securing mechanisms for JOSE, COSE, and SD-JWT.

this change adds corresponding format properties for the new data model.

if you have a suggestion on how to break this into 2 PRs I'm open to it.

Copy link
Member

Choose a reason for hiding this comment

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

@jogu does @decentralgabe's answer above satisfy you or do you want to request changes? If you're satisfied, can you please approve? Thanks.

@decentralgabe
Copy link
Author

For a myriad of reasons, I'm unable to make further changes to this PR for the foreseeable future. I would appreciate if someone else could pick it up on my behalf.

@selfissued
Copy link
Member

As I said on today's DCP call, I'm willing to own this PR while @decentralgabe needs to step away for a bit.

@bc-pi
Copy link
Member

bc-pi commented Nov 12, 2024

@OR13 had some thoughts related to this https://lists.openid.net/pipermail/openid-specs-digital-credentials-protocols/Week-of-Mon-20241028/000525.html which seem in dissonance with his apparent approval of the PR 3 weeks ago.

Copy link
Collaborator

@Sakurann Sakurann left a comment

Choose a reason for hiding this comment

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

let's discuss in the issue #5 first how we want to transition from VCDM v1.1 to v.2.0.

I originally opened that issue, but I do not believe we should overwrite v.1.1 text/examples in OID4VP as there are still implementations who use VCDM v1.1 as defined currently.
if we want to support v2.0, we could add a separate section on VCDM 2.0, but we should discuss in a WG first

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.

[placeholder] define and add vc-data-model v2.0 credential format identifier
10 participants