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 #300

Open
texasspurstar opened this issue Jan 25, 2025 · 2 comments
Open

Verify core claim signature onchain #300

texasspurstar opened this issue Jan 25, 2025 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@texasspurstar
Copy link

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?

@texasspurstar texasspurstar added the bug Something isn't working label Jan 25, 2025
@vmidyllic
Copy link
Collaborator

vmidyllic commented Jan 27, 2025

Proof generation must not take 6-9 seconds, can you share schema that you use (JSON schema and ld context) and example of proof request.
Regarding disclosure of core claim - if you talk that you want to share core claim representation of w3c to onchain veriifer it is possible to verify inclusion to issuer state with MTP, but you need claims tree root and state info check.
So, instead of bjj verifiсation onchain I suggest creating merkle tree proof for VC and it's verification in contract (in case you don't generate proof, because standard validators can check that) .

You still can try to use third party contracts to verify bn254 curve signature. But verification of proof it is not only signature verification, but checking revocation of issuer signing key, expiration etc.

@vmidyllic vmidyllic added the enhancement New feature or request label Jan 27, 2025
@texasspurstar
Copy link
Author

Ok. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants