decentralized-identity / decentralized-identity/presentation-exchange

The "DSL Question" - is JSON Path cross-platform enough and securable enough to encompass all DSLs beyond PE's inbuilt filters?

Open
#430 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
88
Forks
35
PR merge metrics
No merged PRs in 30d

Description

A list of JSONPath issues in the past point to the possibility that requiring implementers to support/allow "all of" JSONPath without constraints or guidance is a blocker to adoption:
- #278 - @ bug (some libraries may not be spec-conformant with JSONPath's IETF spec itself)
- #294 - See also [OIDC4VC thread on moving to a format-specific DSL rather than using JSONPath as superset](https://bitbucket.org/openid/connect/issues/1917/moving-to-a-credential-format-specific)
- #398 - Description of security issues with JSONPath in a public-facing system
- #399 - eval footgun worth warning people about in implementation guide?
- #419

General consensus on today's call to seriously consider major changes to the evaluation DSL component of PE in v3, such as:
- move to JSONPointer altogether, less dev-friendly but safer/simpler
- make a constrained subset of JSONPath required for conformance, with some forms of JSONPath usage moved to a Feature
- DSL-agility with JSONPath as "translation layer" (shudder)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.