gnark-crypto's `E12.SetBytes` accepts invalid array as valid serialised point
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- go
- Domain
- cryptography
Research direction
Start by locating E12.SetBytes and the code handling serialized points in Gt. Reproduce the issue with the two 576-byte arrays of 0x00 and 0x01, then inspect existing serialization tests and make the behavior distinguish valid points from these invalid inputs.
Written by the indexing model from the issue text.
Description
This is for the points in Gt - witnesses are
f.Add(sliceFilledWithString(576, 0x0))
f.Add(sliceFilledWithString(576, 0x1))
- Dominant language
- Go
- Stars
- 5
- Forks
- 12
- Avg merge
- 12d 28m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IBM/mathlib
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Bob Shell support Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
santhosh-tekuri/jsonschema#276 ·