Skip to content

Gbi 2875/integrate openzeppelin ecdsa verify#360

Merged
Luisfc68 merged 4 commits intolbc-splitfrom
GBI-2875/integrate-openzeppelin-ecdsa-verify
Oct 6, 2025
Merged

Gbi 2875/integrate openzeppelin ecdsa verify#360
Luisfc68 merged 4 commits intolbc-splitfrom
GBI-2875/integrate-openzeppelin-ecdsa-verify

Conversation

@Hakob23
Copy link
Copy Markdown
Collaborator

@Hakob23 Hakob23 commented Sep 19, 2025

The Task

What

Integrate Openzeppelin ECDSA.sol library in signature verification

Why

For any valid signature (v, r, s), another valid signature (v, r, s') can be crafted where s' is the modular inverse of s on the curve. The current implementation does not restrict the s value to the lower half of the curve order, which is the standard defense against this.

How to test

npm run test -- test/signature-validator.test.ts

@Hakob23 Hakob23 self-assigned this Sep 19, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 19, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@Hakob23 Hakob23 marked this pull request as ready for review September 19, 2025 14:36
@Luisfc68 Luisfc68 merged commit 2d2348d into lbc-split Oct 6, 2025
5 checks passed
@Luisfc68 Luisfc68 deleted the GBI-2875/integrate-openzeppelin-ecdsa-verify branch October 6, 2025 19:35
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