Stricter BIP32 decoding and test vector 5 #22836

pull sipa wants to merge 1 commits into bitcoin:master from sipa:202108_bipvec5 changing 3 files +35 −1
  1. sipa commented at 4:03 PM on August 30, 2021: member

    This adds detection for various edge cases when decoding BIP32 extended pubkeys/privkeys, and tests them using the proposed https://github.com/bitcoin/bips/pull/921 BIP32 test vector 5.

  2. Stricter BIP32 decoding and test vector 5 56a42f10f4
  3. sipa cross-referenced this on Aug 30, 2021 from issue added test vector #5 for invalid extended keys by fametrano
  4. benthecarman cross-referenced this on Aug 30, 2021 from issue Add new invalid BIP 32 test vectors by benthecarman
  5. DrahtBot added the label Utils/log/libs on Aug 30, 2021
  6. darosior approved
  7. darosior commented at 9:12 AM on September 1, 2021: member

    utACK 56a42f10f452f0ac0e3e333646a8effcbebf6b30 -- Had to implement essentially the same fix in python-bip32.

  8. fanquake commented at 10:14 AM on September 1, 2021: member
  9. kristapsk approved
  10. kristapsk commented at 2:14 PM on September 1, 2021: contributor

    ACK 56a42f10f452f0ac0e3e333646a8effcbebf6b30. Checked that test vectors are the same as in BIP32 and that tests pass.

  11. fanquake merged this on Sep 2, 2021
  12. fanquake closed this on Sep 2, 2021

  13. sidhujag referenced this in commit 8fdd2cb327 on Sep 2, 2021
  14. kristapsk cross-referenced this on Nov 3, 2021 from issue BIP32 test vector 5 should be added to tests and checked by kristapsk
  15. kristapsk cross-referenced this on Feb 17, 2022 from issue Stricter BIP32 decoding and test vector 5 by kristapsk
  16. kristapsk referenced this in commit 83918a971d on Mar 2, 2022
  17. bitcoin locked this on Sep 2, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC