presentation-exchange
presentation-exchange copied to clipboard
JSONPath/Pointer changes for 2.1
Concerns
- JSONPath: security issues
- 2.1 breaking change
Structure of PE spec
- base: simple stuff
- features: advanced, under-defined
Structurally better to have jsonpointer at the base layer, but breaking change
Decision:
- Add a new
pointerproperty at same level of path. Strong preference for this in implementation notes - Soft launch with preference for jsonpointer that falls back to jsonpath
- In 3.0, path becomes a feature
What does it mean In 3.0, path becomes a feature?
I believe this means that in the 3.0 release Json Path will become an extension on the spec and not required to be conformant with the spec. See: https://identity.foundation/presentation-exchange/#structure-of-this-document
You should update your references to this nice shiny new RFC:
https://datatracker.ietf.org/doc/html/rfc9535
So shiny, thanks!
as discussed in https://github.com/openid/OpenID4VCI/issues/266, even JSON Pointer might not meet all the requirements like indexing array entries. alternative mechanism could be something like proposed here: https://github.com/openid/OpenID4VCI/pull/276