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

feat: Implement MGF1 #115

Merged
merged 3 commits into from
Jun 4, 2024
Merged

feat: Implement MGF1 #115

merged 3 commits into from
Jun 4, 2024

Conversation

seshanthS
Copy link
Collaborator

@seshanthS seshanthS commented May 28, 2024

Implements #109

Tests:
from proof-of-passport/circuits directory,

yarn ts-mocha test/Mgf1_sha256.test.ts

@seshanthS seshanthS changed the title MGF1: Add circuit feat: Implement MGF1 May 28, 2024
@seshanthS seshanthS marked this pull request as ready for review May 30, 2024 16:54
@0xturboblitz
Copy link
Member

Hi @seshanthS

This is really cool!

I just added the mock passport data for rsassaPss here: https://github.com/zk-passport/proof-of-passport/blob/57ec1c3407ea1f66f348636a68e0d1c6cf914c65/common/src/utils/mockPassportData.ts#L105

If you want to continue working on this, you can now try doing the full implementation for rsassaPss using your mgf1

This would be super valuable, and also a nice way to test it as it's hard for us to know if your implementation follows the same one used in passports unless we test it with a compliant passport data like the one I just added.

@0xturboblitz 0xturboblitz changed the base branch from main to dev June 4, 2024 15:01
@0xturboblitz 0xturboblitz merged commit 6d7bc6e into zk-passport:dev Jun 4, 2024
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.

2 participants