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

Verify core claim signature onchain #194

Open
nickz-t3 opened this issue Mar 8, 2024 · 1 comment
Open

Verify core claim signature onchain #194

nickz-t3 opened this issue Mar 8, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nickz-t3
Copy link

nickz-t3 commented Mar 8, 2024

Hi.

I have a case where verification of the zkp is not desirable as it takes 6-9s to do the ZKP proof based on the VC. However in my case I am ok to send the core claim to the verifier. However I need an onchain verifier and it does not seem that verification of the babyjubjub signature onchain (or I would rather say, verifying the core claim onchain) is part of the solution at the moment.

Is it possible to add this feature?

@nickz-t3 nickz-t3 added the bug Something isn't working label Mar 8, 2024
@vmidyllic
Copy link
Collaborator

Sharing of credential is not included in current protocol messages, if you need you can do this separately.

Onchain zkp verification is supported for credentials that have bjj signature proofs.

Verification of the signature itself should be possible onchain.

But in signature in BJJ proof is a signature over the core claim which contains a merkle root of VC document (as one of the data slots). And merklization itself is not possible onchain.

read more here about bjj proof

@vmidyllic vmidyllic added enhancement New feature or request and removed bug Something isn't working labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants