Commit Graph

23 Commits

Author SHA1 Message Date
Jude Nelson
ac58a67e19 properly coerse string for non-string types 2017-05-10 15:54:02 -04:00
Jude Nelson
d573db34ef fix up tombstone generation in data deletion code 2017-05-01 16:41:57 -04:00
Jude Nelson
86782c627e clean up imports; add better debugging output and comments in put_mutable_data(); fix bug in put_mutable_data() where it could fail due to a miscounting of the number of successful drivers 2017-04-27 19:33:40 -04:00
Jude Nelson
1d421b3844 remove now-useless get_file_hash method 2017-04-24 20:11:35 -04:00
Jude Nelson
bb5ea08043 use virtualchain's key library 2017-04-20 17:45:07 -04:00
Jude Nelson
95c472dcca port fix from master re: storing queued profiles 2017-04-13 16:43:46 -04:00
Jude Nelson
e40c510693 send raw data text; don't expect json 2017-04-05 15:05:29 -04:00
Jude Nelson
51a2d281f1 rely on blockstack_client's hash functions 2017-03-30 14:06:55 -04:00
Jude Nelson
3fb9203476 remove confusing log msg 2017-03-23 18:55:47 -04:00
Jude Nelson
576bc21a2c make sure all required drivers succeed on put/delete; make sure we verify both compressed and uncompressed pubkey hashes when given a pubkey has to use to verify data 2017-03-22 15:00:43 -04:00
Jude Nelson
6c98387551 serialize/deserialize as netstring; add helper methods for doing so; take externally-generate signatures on mutable data operations; formalize tombstone format 2017-03-09 20:05:27 -05:00
Jude Nelson
7e8ba1ae8b allow put/delete mutable data to specify that they want to use the required set of drivers exclusively 2017-03-01 23:07:56 -05:00
Jude Nelson
1586cef169 don't json.loads data 2017-03-01 19:30:58 -05:00
Jude Nelson
4b3c9f179c don't take a separate data text field; just take JSON or text (but serialize either way) 2017-02-28 16:27:39 -05:00
Jude Nelson
d4aab2f219 fix bugs found during testing of hash verification 2017-02-21 12:35:34 -05:00
Jude Nelson
d0ebca092a moved lots of signing/verifying logic to keys.py; allow authenticating mutable data by hash 2017-02-20 21:02:14 -05:00
Jude Nelson
2d6823d0f9 use compressed keys in the serialized data 2017-02-12 03:35:29 -05:00
Jude Nelson
1efd3c266b pass owner and payment address to register 2017-02-11 15:03:43 -05:00
Jude Nelson
1ee61c6dd3 make sure the public key is a string 2017-02-06 19:40:53 -05:00
Jude Nelson
983f40ebfe use is_singlesig_hex() for storage keys 2017-02-06 15:14:39 -05:00
Jude Nelson
312c662b5a do not attempt to extract a blockchain ID from a data ID; instead, make it a separate argument. Also, fix up immutable data hash search API to always return a list or None 2017-01-30 01:43:19 -05:00
Jude Nelson
1dfbc7142e add ECDSA routines to work on files 2017-01-23 19:08:18 -05:00
Jude Nelson
e4455caf96 Repository re-organization 2017-01-17 11:16:19 -05:00