- Add empty list check with ValueError
- Replace zero key return with InvalidContributionError for identical keys
- Prevent potential cryptographic vulnerabilities from zero key usage
fix: Improve get_second_key security by removing zero key return #1761
pull crStiv wants to merge 1 commits into bitcoin:master from crStiv:фффф changing 1 files +3 −1-
crStiv commented at 0:44 am on February 11, 2025: none
-
Update reference.py 99b30447b1
-
murchandamus added the label Proposed BIP modification on Feb 12, 2025
-
murchandamus added the label Pending acceptance on Feb 12, 2025
-
murchandamus commented at 4:55 pm on February 12, 2025: contributor
-
jonasnick commented at 5:40 pm on February 12, 2025: contributor
Hi @crStiv,
Returning the representation for the point at infinity is intentional. This is also what the BIPs pseudocode specifies. I see no reason to change this.
Moreover, this PR would break the BIPs ability to identify disruptive signers (see section in the BIP). If the public keys are all the same and you abort, you do not know who generated the key honestly and who has just copied it.
-
jonatack closed this on Feb 13, 2025
github-metadata-mirror
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-02-22 08:10 UTC
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-02-22 08:10 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me