Skip to content

Properly handle path-based claims.#1026

Merged
sorotokin merged 1 commit into
mainfrom
sdjwt-path-and-dc-tests
Jun 7, 2025
Merged

Properly handle path-based claims.#1026
sorotokin merged 1 commit into
mainfrom
sdjwt-path-and-dc-tests

Conversation

@davidz25

@davidz25 davidz25 commented Jun 6, 2025

Copy link
Copy Markdown
Contributor

Other changes:

  • Use "JSON-Based" instead of "W3C VC" or "VC" since that's a lot more accurate and also in line with what OpenID Foundation standards are doing. This includes renaming a bunch of types, methods, params, and comments.
  • Also register for TYPE_DIGITAL_CREDENTIAL to make things work with X-device presentment in Chrome.
  • Add unit tests in DigitalCredentialsPresentmentTest for mDL and SD-JWT VC presentment using OpenID4VP draft 24. This is just the beginning, we'll add a lot more tests once we integrate the new DCQL library.

Test: ./gradlew check && ./gradlew connectedCheck
Test: New unit tests and all unit tests pass.
Test: Manually tested with own and 3rd party verifiers.

@davidz25
davidz25 requested a review from sorotokin June 6, 2025 21:54
@davidz25
davidz25 force-pushed the sdjwt-path-and-dc-tests branch from f7903c6 to edb4541 Compare June 6, 2025 22:20
Other changes:

- Use "JSON-Based" instead of "W3C VC" or "VC" since that's a lot more
  accurate and also in line with what OpenID Foundation standards
  are doing. This includes renaming a bunch of types, methods, params,
  and comments.
- Also register for `TYPE_DIGITAL_CREDENTIAL` to make things work with
  X-device presentment in Chrome.
- Add unit tests in `DigitalCredentialsPresentmentTest` for mDL and
  SD-JWT VC presentment using OpenID4VP draft 24. This is just the
  beginning, we'll add a lot more tests once we integrate the new
  DCQL library.

Test: ./gradlew check && ./gradlew connectedCheck
Test: New unit tests and all unit tests pass.
Test: Manually tested with own and 3rd party verifiers.
Signed-off-by: David Zeuthen <zeuthen@google.com>
@davidz25
davidz25 force-pushed the sdjwt-path-and-dc-tests branch from edb4541 to c8709b5 Compare June 6, 2025 22:22
@sorotokin
sorotokin merged commit f02bab6 into main Jun 7, 2025
6 checks passed
@sorotokin
sorotokin deleted the sdjwt-path-and-dc-tests branch June 7, 2025 05:10
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