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

fix: Field element casting to affine representation #240

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

ethenotethan
Copy link
Collaborator

@ethenotethan ethenotethan commented Jan 13, 2025

Fixes Issue

As pointed out by auditors, initial curve check was first mapping the commitment's X,Y field elements to the curve's G1 group before doing the inclusion check which would always resolve true even if invalid points are provided.

Fixes #

Changes proposed

@ethenotethan ethenotethan requested review from samlaf and litt3 January 13, 2025 16:57
@ethenotethan ethenotethan merged commit ad966a5 into main Jan 13, 2025
9 checks passed
@ethenotethan ethenotethan deleted the epociask--fix-curve-check branch January 13, 2025 17:16
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.

None yet

2 participants