openwallet-foundation / credo-ts

Typescript framework for building decentralized identity and verifiable credential solutions
https://credo.js.org
Apache License 2.0
258 stars 195 forks source link

Hide revealed Attributes in Proof Presentation #1423

Open PenguinTaro opened 1 year ago

PenguinTaro commented 1 year ago

Hi there, In our use case we want to set the revealed flag to false so that verifier doesn't receive the details of my attributes. Can you guide me regarding this, like how this can be achieved? Thank you. @reflectivedevelopment @peacekeeper @JamesKEbert

TimoGlastra commented 1 year ago

I don't think that flow is currently worked out. I think we should allow a variant of the selected credentials where credentialId is undefined and revealed is false.

It would require changes to the anoncreds credential format and anoncreds services though. Are you willing to make a PR for this?