This repository was archived by the owner on Dec 12, 2024. It is now read-only.
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
Presentation Exchange: support limiting disclosure with ZKP and Selective Disclosure Credentials #354
Open
Description
Today we do not support building a Presentation Submission if limit_disclosure
is set to required
. This is because we have no way of detecting whether a credential was signed as a ZKP or SD cred.
The change is to:
- If
limit_disclosure
is set torequired
... - Detect if the credential is ZKP or SD
- See if the claim can fulfill a given
input_descriptor
- If so, construct a limited credential with signature(s) depending on the ZKP/SD scheme