Skip to content

Allow selective disclosure with ops other than $eq. #65

Description

@nedgar

The current support for selective disclosure is indicated by query {fieldName: {}}, which implicitly assumes the operator is $eq, with value being the current value in credential.

If selective disclosure was purely an option, and the other operators were allowed, it would support a challenge like “prove you’re an adult and disclose your age only if so”, e.g. so no PII about minors would be collected.

Discussed with @OBrezhniev in Slack, who said:

Interesting use case. Should be possible to implement without changes to circuits.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions