Skip to content

Commit

Permalink
Fix #267, explain why we are not using JSON Path or JSON Pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfett committed Jan 13, 2025
1 parent 799acde commit 3ccddc7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions draft-ietf-oauth-sd-jwt-vc.md
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,13 @@ selectively disclosable claims were disclosed to a Verifier. That means that a
consuming application which does not have access to all disclosures may not be
able to identify the claim which is being addressed.

Note: This specification does intentionally not use JSON Pointer [@RFC6901] for
selecting claims, as JSON Pointer requires string parsing and does not support
wildcard selection of array elements. It does not use JSON Path [@JSONPATH] as
that introduces a considerable complexity and brings in a lot of features that
are not needed for the use case of selecting claims in a credential. There are
also security concerns with some implementations.

## Claim Display Metadata {#claim-display-metadata}

The `display` property is an array containing display information for the
Expand Down Expand Up @@ -1573,6 +1580,7 @@ for their contributions (some of which substantial) to this draft and to the ini
-09

* Use SD-JWT KB in place of SD-JWT with Key Binding JWT
* Document reasons for not using JSON Pointer or JSON Path (Issue #267)

-08

Expand Down

0 comments on commit 3ccddc7

Please sign in to comment.