guggero
commented at 3:01 pm on December 28, 2024:
contributor
Both generating and verifying a proof allows for specifying a custom generator point G. But that custom generator point was not passed into the dleq_challenge function, resulting in the default (secp256k1) generator point to be used. This lead to the test vectors being incorrect.
Noticed this while re-implementing DLEQ proof generation and verification in Golang.
bip-0374: fix challenge generation, use correct G
Both generating and verifying a proof allows for specifying a custom
generator point G. But that custom generator point was not passed into
the dleq_challenge function, resulting in the default (secp256k1)
generator point to be used. This lead to the test vectors being
incorrect.
8bc42a2673
jonatack added the label
Bug fix
on Dec 28, 2024
jonatack
commented at 5:30 pm on December 28, 2024:
member
This is a metadata mirror of the GitHub repository
bitcoin/bips.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2025-11-01 22:10 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me