Reject invalid pubkeys when reading ckey items from the wallet. #6906

pull gmaxwell wants to merge 1 commits into bitcoin:master from gmaxwell:ckey_pubkey_check changing 1 files +6 −1
  1. gmaxwell commented at 6:29 PM on October 29, 2015: contributor

    This makes the behavior more consistent with key objects and will reject some corrupted pubkeys (e.g. zero length).

  2. Reject invalid pubkeys when reading ckey items from the wallet.
    This makes the behavior more consistent with key objects and will
     reject some corrupted pubkeys (e.g. zero length).
    30d9662bd7
  3. jonasschnelli commented at 6:56 PM on October 29, 2015: contributor

    utACK. Makes sense. LoadCryptedKey() will cast it to a CPubKey object anyways. And the serialization of a CPubKey is equal to a vector<unsigned char> (compact size and the bytestream).

  4. dcousens commented at 8:10 PM on October 29, 2015: contributor

    utACK

  5. MarcoFalke commented at 10:29 PM on October 29, 2015: member

    utACK

  6. instagibbs commented at 6:20 PM on October 30, 2015: member

    utACK

  7. laanwj added the label Wallet on Oct 30, 2015
  8. laanwj merged this on Oct 30, 2015
  9. laanwj closed this on Oct 30, 2015

  10. laanwj referenced this in commit 48b5b84ee5 on Oct 30, 2015
  11. luke-jr referenced this in commit 47736a67a4 on Nov 18, 2015
  12. luke-jr referenced this in commit f1c208d153 on Dec 8, 2015
  13. DrahtBot locked this on Sep 8, 2021

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-04-18 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me