Commit Graph

18 Commits

Author SHA1 Message Date
Jude Nelson
81ba183b7c move common ecdsa methods into virtualchain's ecdsalib, and rely on them where applicable 2017-04-20 17:42:49 -04:00
Jude Nelson
23dfd947f7 catch assertion error and ecdsa error on signature verification 2017-04-17 15:38:35 -04:00
Aaron Blankstein
b832720277 added default to ecdsa_private_key which fixes wallet initialization, and set privkey format to hex as expected by schema 2017-04-07 12:03:00 -04:00
Jude Nelson
befde95a59 for now, unless the private key explicitly signals '01' for compressed, assume uncompressed 2017-03-30 18:26:29 -04:00
Jude Nelson
f777a890ac get off of virtualchain.BitcoinPublicKey wherever possible in favor of keylib 2017-03-30 14:59:14 -04:00
Jude Nelson
adeda504b7 remove pybitcoin import 2017-03-30 14:06:05 -04:00
Jude Nelson
70b660ed82 code refactoring to make it clear when we hexlify secrets 2017-03-21 11:35:02 -04:00
Jude Nelson
1376a40aa0 make compatible with fastecdsa 1.4.1 2017-03-09 20:04:24 -05:00
Jude Nelson
e9fe6e7989 make sure we always always always use the chain code when deriving a hardened child 2017-02-23 17:23:50 -05:00
Jude Nelson
197e58273e expand the make_wallet_keys() test method to generate addresses and public keys as well 2017-02-21 12:34:29 -05:00
Jude Nelson
c00bf826aa Move data-signing and data-verifying logic from storage.py to keys.py 2017-02-20 21:01:50 -05:00
Jude Nelson
907c360fdc speed up master address calculation in hdwallet by a few orders of magnitude 2017-02-12 19:16:10 -05:00
Jude Nelson
1e6d2bf415 update TODOs 2017-02-12 03:33:46 -05:00
Jude Nelson
10683f6c53 is_singlesig_hex(): is a key a single private key, and hex-encoded 2017-02-06 15:13:27 -05:00
Jude Nelson
1eaf94bbf1 revamp data key deduction: we can use the owner key as a data key, but only if it's a single-sig owner key (otherwise, we have no way of extracting a public key from a multisig address) 2017-01-30 01:41:00 -05:00
Jude Nelson
ba8c304388 no longer accept the owner private key's signature on new data 2017-01-23 19:07:48 -05:00
Jude Nelson
9f2225fedd merge rc-0.14.1 keys.py 2017-01-17 11:22:32 -05:00
Jude Nelson
e4455caf96 Repository re-organization 2017-01-17 11:16:19 -05:00