Commit Graph

43 Commits

Author SHA1 Message Date
Jude Nelson
64d69a7e52 public key may not be given in raw data payload 2017-11-10 13:13:46 -05:00
Jude Nelson
0260814e47 wrong variable 2017-10-23 19:08:39 -04:00
Jude Nelson
ba6649b961 accept return_public_key=True/False kwarg to control whether or not get_mutable_data() returns the public key that authenticated the data (if it could be found) 2017-10-23 18:02:24 -04:00
Aaron Blankstein
247484c892 compress debug logs for skipped optional drivers 2017-10-09 16:39:21 -04:00
Jude Nelson
9022bccb8f better storage debug output 2017-09-30 17:52:00 -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
Aaron Blankstein
e0cb5f04f6 support for greedily filling the subdomain cache by querying blockstack core for new zonefiles 2017-08-08 15:00:52 -04:00
Aaron Blankstein
c8b6feb839 fixing some pylinter errors 2017-07-14 02:50:11 -04:00
Aaron Blankstein
93d07d68b3 This reverts us *all* the way back to 523cf405d7 -- this removes all changes to support the token file from this branch.
Revert "added example request and response for PUT /v1/wallet/keys/owner to api docs"

This reverts commit d52ee4b31e.

Revert "cutting down on the verbosity of logging outputs -- registrar now only prints 1 line on wakeups. storage drivers are concatenated into 1 line"

This reverts commit 87e3e7ab0d.

Revert "adding dropbox as a default storage driver to load, and switched default 'required' drivers to 'disk,dropbox'"

This reverts commit 9471b0a20a.

Revert "adding test case for issue 483, which *also* required fixing the app session schema to handle empty string methods a little bit more gracefully"

This reverts commit 32efc99d62.

Revert "bugfix for the address reencoding in get_zonefile -- checks to see if the address is an address before trying to reencode"

This reverts commit 1488013b93.

Revert "Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3"

This reverts commit f75ab67960, reversing
changes made to fe863bcd3c.

Revert "don't create the metadata dir"

This reverts commit fe863bcd3c.

Revert "make all metadata directories inside the critical section"

This reverts commit e66236abd2.

Revert "don't cast 'None' to string by accident"

This reverts commit c6250d5349.

Revert "force string"

This reverts commit e72d43d0be.

Revert "add unbound proxy variable"

This reverts commit 7f1f7e9731.

Revert "return raw zonefile"

This reverts commit 51e858428d.

Revert "force string"

This reverts commit 1ce371644f.

Revert "force string"

This reverts commit 5353cb1015.

Revert "require virtualchain rc-0.14.3 and jsontokens-py 0.0.4"

This reverts commit 346f042db7.

Revert "Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3"

This reverts commit 1fa1de3e54, reversing
changes made to 523cf405d7.
2017-07-10 14:59:23 -04:00
Jude Nelson
e72d43d0be force string 2017-07-06 19:36:27 -04:00
Jude Nelson
9891eda24f bugfixes in get_mutable_data() when supporting multiple data hashes 2017-07-06 18:48:57 -04:00
Jude Nelson
669bf1396b when verifying mutable data, simply take a list of public keys and addresses to try 2017-07-05 17:31:09 -04:00
Jude Nelson
bf615e7b16 no longer serialize profiles (handled by token file logic); no longer accept structured data for storing data (so no serialization required) 2017-07-04 23:36:16 -04:00
Jude Nelson
5a709673a9 log corruption case 2017-06-20 23:53:43 -04:00
Jude Nelson
8f9a11689c add methods to classify and configure storage drivers 2017-06-18 22:11:08 -04:00
Jude Nelson
65e879733a fix some bugs found from testing, and close #440 2017-05-30 20:29:32 -04:00
Jude Nelson
2581b2895d include timestamps in data tombstones to ensure uniqueness (#440) 2017-05-30 19:21:01 -04:00
Jude Nelson
d1b02d78f5 debug success path on put_mutable_data 2017-05-23 16:49:49 -04:00
Jude Nelson
8d42af5aea allow data to be stored without signatures or public keys or version tags 2017-05-17 00:20:59 -04:00
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