Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selective disclosure for JWTs #94

Closed
wants to merge 4 commits into from
Closed

Selective disclosure for JWTs #94

wants to merge 4 commits into from

Conversation

zaverucha
Copy link
Collaborator

No description provided.

Signed-off-by: Greg Zaverucha <gregz@microsoft.com>
Attributes that are larger than a field element can be hashed to fit,
then disclosed by revealing the preimage. Completes the core work for
selective disclosure.  Added support for basic proof specifications
encoding a description of attribute data to disclose.

Signed-off-by: Greg Zaverucha <gregz@microsoft.com>
Signed-off-by: Greg Zaverucha <gregz@microsoft.com>
Callers do not have to specify whether a revaled attribute is hashed or
not, we can figure that out from the config.json file.

The Groth16 params were being saved twice, once on their own and once in
the prover params, as they can be large, we only save them once in the
prover params.

Signed-off-by: Greg Zaverucha <gregz@microsoft.com>
@zaverucha zaverucha closed this Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant