ethereum / py_ecc

Python implementation of ECC pairing and bn_128 and bls12_381 curve operations
MIT License
191 stars 82 forks source link

Fix is_Z1_pubkey #107

Closed hwwhww closed 3 years ago

hwwhww commented 3 years ago

What was wrong?

Thanks to Nguyen Thoi Minh Quan for the bug report. Somehow the serialization is not unique (see #108), the infinity point checks should have been done after decompression.

How was it fixed?

Cute Animal Picture

🦝