cosmos-sdk/crypto
Emmanuel T Odeke ec285f1798
crypto/hd: properly catch index overflows to ensure conformance with BIP 32 (#7628)
* crypto/hd: properly catch index overflows to ensure conformance with BIP 32

Uses 31 bits as the bitsize argument to strconv.ParseUint to ensure
that we correctly parse values in the range [0, max(int32)]

Adds tests too to prevent future regressions of this subtlety.

Fixes #7627.

* Address Fedekunze's testing review
2020-11-03 20:28:42 +01:00
..
codec Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
hd crypto/hd: properly catch index overflows to ensure conformance with BIP 32 (#7628) 2020-11-03 20:28:42 +01:00
keyring LGTM alerts audit (#7440) 2020-10-02 15:13:58 +02:00
keys Use embedded lib key type in sdk pub keys instead of bytes. (#7672) 2020-10-28 10:24:41 +00:00
ledger PubKey proto types (#7147) 2020-09-16 11:08:55 +00:00
types Remove the old message PublicKey proto oneof (#7390) 2020-09-29 10:01:54 +00:00
armor_test.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
armor.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
bcrypt_readme.md merge crypto/keys/mintkey into crypto/ (#5880) 2020-03-27 10:24:19 +01:00