Commit Graph

29 Commits

Author SHA1 Message Date
Jude Nelson
124c1bf471 use the owner private key unconditionally if there is no data public key in the zone file 2017-10-17 18:31:32 -04:00
Jude Nelson
10819e2294 explicitly compare decompressed keys 2017-10-10 11:24:17 -04:00
Jude Nelson
b1c835686c fix key conversion 2017-09-29 00:50:01 -04:00
Jude Nelson
e411a60712 add support for segwit private keys, and selecting the "right" private key to use when selecting a data key during wallet migration 2017-09-29 00:48:49 -04:00
Aaron Blankstein
5e7c9308f5 removed all wildcard imports from non-init, non-storage-driver files in blockstack_client 2017-08-21 16:54:08 -04:00
Aaron Blankstein
c878b62c8a /usr/bin/env python -> python2. our code is not python3 friendly, we should specify that 2017-08-17 13:40:01 -04:00
Jude Nelson
c08f0f0b35 make sure we're dealing with keys of the same format when comparing 2017-05-02 11:50:30 -04:00
Jude Nelson
69e5aa0620 when making hardened child private keys, make sure they're compressed by default unless the caller says otherwise 2017-05-01 16:39:50 -04:00
Jude Nelson
b88dcd887f Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-04-27 19:37:48 -04:00
Jude Nelson
4ee7bc7b27 clean up imports 2017-04-27 19:30:35 -04:00
Aaron Blankstein
4b9adaece7 another small bug -- this affects the 'wallet' command 2017-04-26 13:18:03 -04:00
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