-
Notifications
You must be signed in to change notification settings - Fork 13
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 OWF attribution and explain !sd #270
Conversation
I guess the changes are, from a content point of view, fine. That being said, I find it a strange choice to create an example that way. The role of the spec includes serving as a document that makes it possible for newcomers to understand what the technical content is. Examples play an essential role in this. Nowhere else in the whole family of specification do we use YAML, and even nontrivial aspects thereof, which is odd. If it is necessary from the SD-JWT point of view, then be it. If it is just because we use a particular tool to generate the example, I question the wisdom of the choice. I would prefer, if necessary, to manually make the example valid in JSON for readability's sake. This is not a formal objection to the PR, just food for thoughts. |
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.
Rephrase a sentence, for clarity...
Co-authored-by: Ted Thibodeau Jr <[email protected]>
It is absolutely not necessary and as mentioned in #269 (comment) I think it's inappropriate for use directly in a specification (for reasons you mentioned among others). I'd note that the SD-JWT draft itself uses the tooling to produce (hopefully useful) examples like this one but does not include any YAML in the specification itself. But if the WG and editors of vc-jose-cose think it's okay, I'm not going to spend any more energy on the topic. |
thanks for the reference @bc-pi - I think us following what the SD-JWT spec itself does makes sense |
Pulling on that thread a little bit, I'll note that the SD-JWT draft has an example that tried to envision how SD-JWT might be used to express/secure a VCDM payload and a presentation of such with a subset of that payload disclosed. That's at: https://www.ietf.org/archive/id/draft-ietf-oauth-selective-disclosure-jwt-08.html#appendix-A.4 There may be some opportunity to borrow content/concepts from that and/or unveil issues in either document. The presentation part in particular is rather different than what's in vc-xose's Securing JSON-LD Verifiable Presentations with SD-JWT. And, to be honest, securing a VP with SD-JWT doesn't really make sense to me. But maybe I'm not seeing the grand vision or something. |
This should be closed in favor of #272 |
That PR does take the |
#273 is different but does not fundamentally change the position stated. |
superseded by #273 |
Fixes #269
Cc @danielfett
Preview | Diff