Commit graph

88 commits

Author SHA1 Message Date
Lex Berezhny
2e557d3a36 converted everyting in schema/legacy/* into schema/jsonschema.py 2019-03-25 22:54:08 -04:00
Lex Berezhny
5df05cb37e make schema.types a module 2019-03-25 22:54:08 -04:00
Lex Berezhny
326b62dc57 moved proto2/proto3 to types/v1 and types/v2 respectively 2019-03-25 22:54:08 -04:00
Lex Berezhny
25cc7ba284 updated schema to latest types: Claim uses oneof type for Channel/Stream 2019-03-25 22:54:08 -04:00
Victor Shyba
550f064302 baseschema 2019-03-25 22:54:08 -04:00
Victor Shyba
11086b93f1 migrate other fields 2019-03-25 22:54:08 -04:00
Victor Shyba
df5662136d migrate cert + adapt to latest types repo 2019-03-25 22:54:08 -04:00
Victor Shyba
291d65070d move common schema values to constants.py 2019-03-25 22:54:08 -04:00
Victor Shyba
9b64ee33dc fix imports: schema.schema -> schema.legacy_schema_v1 2019-03-25 22:54:08 -04:00
Victor Shyba
5404d26f2f schema.schema -> schema.legacy_schema_v1 2019-03-25 22:54:08 -04:00
Victor Shyba
26ade1f228 bump merged proto3 2019-03-25 22:54:08 -04:00
Victor Shyba
b49f1f1b54 fix imports 2019-03-25 22:54:08 -04:00
Victor Shyba
3bafa2ad22 regenerate protos 2019-03-25 22:54:08 -04:00
Victor Shyba
378ec44f3c update make to generate proto2 and proto3 2019-03-25 22:54:08 -04:00
Victor Shyba
9d0d17b422 rename proto proto2 2019-03-25 22:54:08 -04:00
Brannon King
5bdd87c904 removed name-to-claim lookup table
added unit test for Greek and made it work


pylint: revert bad move


revert claim_sequence changes


fixed broken test
2019-03-05 09:32:43 -05:00
Victor Shyba
be6448b74f fix str/bytes confusion from resolve/claimdict on certificate_id 2019-01-17 23:24:58 -05:00
Victor Shyba
b707ee4844 encode and decode detached signatures from claim dict 2019-01-17 23:24:58 -05:00
Victor Shyba
0e9888be3b fixes from review 2019-01-17 23:24:58 -05:00
Victor Shyba
abf94357eb tests and fixes for sig validation on undecode-able claims 2019-01-17 23:24:58 -05:00
Victor Shyba
36aded3830 store original payload for signing and verifying 2019-01-17 23:24:58 -05:00
Victor Shyba
d7ebf50602 detached as a parameter instead of class attribute 2019-01-17 23:24:58 -05:00
Victor Shyba
523c4c86a9 change default curve to SECP256k1, pass name parameter 2019-01-17 23:24:58 -05:00
Victor Shyba
74cccdbfc7 simplify detached signing and verifying 2019-01-17 23:24:58 -05:00
Victor Shyba
70471eebfa wallet server and resolve working, functional test 2019-01-17 23:24:58 -05:00
Victor Shyba
fe97f7a119 adds a detached signature attribute to ClaimDict 2019-01-17 23:24:58 -05:00
Victor Shyba
f8ed605da2 adds a way to verify detached signatures 2019-01-17 23:24:58 -05:00
Victor Shyba
e38ef2af1f adds a way to sign detached 2019-01-17 23:24:58 -05:00
Victor Shyba
5d8e627d02 adds a separate representation for a detached signature 2019-01-17 23:24:58 -05:00
hackrush
6c8cbc1b9e added additional fields to uri parser 2019-01-11 15:10:22 -05:00
Oleg Silkin
b3fde9d78d Removes six From Project (#1660)
* Replaces `six` urllib with python 3's urllib
* Replaces `six`'s int2byte method with native `bytes` class
* Removes edge case testing for python2 vs python3
* Removes useless object inheritance
* Uses native io.BytesIO instead of six.BytesIO
* Removes six from dependencies
2018-11-22 23:24:21 -05:00
Jack Robison
7c8016d807
remove accidentally added lbrynet.schema.signature 2018-11-09 16:52:46 -05:00
Jack Robison
d704336f20
absolute imports 2018-11-09 16:52:46 -05:00
Victor Shyba
588779e3a4 makefile for using types repo 2018-11-05 20:48:21 -05:00
Lex Berezhny
dc81b6def1 install lbryumx after lbrynet so that we dont get the old protobuf 2018-11-04 10:50:15 -05:00
Lex Berezhny
22f5aaee70 regenerated protobufs 2018-11-04 10:50:15 -05:00
Victor Shyba
e46f0e2444 fix namespace lbryschema->lbrynet.schema 2018-11-04 10:50:15 -05:00
Victor Shyba
2dcebe48b7 move lbryschema/lbryschema into lbrynet/schema 2018-11-04 10:50:15 -05:00