-
Notifications
You must be signed in to change notification settings - Fork 0
🔒 Verify given compressed pubKey is on curve #357
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
Conversation
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
taeguk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uncompressPubkey already has some verification logic itself. Isn't it not enough?
|
@taeguk no it does check only for the format, not the public key itself. we need to check whether the pubKey is on curve |
|
According to the context. Probably it is safe to not to apply this fix.
|
|
@byeongsu-hong oh right. we should check. |
check ValidatorManager's Initialize(). It only has pubkey. |
|
@taeguk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about keeping existing codes for potential usage in future?
And actually it was already included in audit scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm okay, i will keep it
This reverts commit 09984d1.
No description provided.