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

fix: allow digesting and signing of modified oa vcs #321

Merged

Conversation

phanshiyu
Copy link
Contributor

Why

We can no longer infer users intention to validate against OA vc data model or the generic w3c VC data model

Copy link
Member

@HJunyuan HJunyuan left a comment

Choose a reason for hiding this comment

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

🚀

@phanshiyu phanshiyu merged commit 1cc6b3c into feat/mix-and-match Jan 14, 2025
6 checks passed
@phanshiyu phanshiyu deleted the fix/make-using-w3c-data-model-explicit branch January 14, 2025 07:04
HJunyuan added a commit that referenced this pull request Jan 27, 2025
* chore: update v3 deprecation message

* chore: use correct terminologies like digest and vc

* feat: allow both OA and W3C VCs to be digested or signed

* refactor: use vc terminology

* fix: suggestions to mix n match (#320)

* fix: make types more granular

* fix: use new types, assert that vc is proofless

* refactor: bring w3cVc schema definitions tgt

* fix: use new types

* fix: update references to guards and types

* fix: update references to guards and types

* fix: tests

* refactor: rename wrap to digest

* refactor: already checking for proofless data model error in digest

* fix: naming

* refactor: reference proofless schema, custom err msg

* fix: builder error shd have digest and sign errors

* fix: tests

* refactor: oaDigested should mean only digested, and not include signed documents

* refactor: useless alias

* fix: allow digesting and signing of modified oa vcs (#321)

---------

Co-authored-by: Phan Shi Yu <[email protected]>
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.

2 participants