Commit Graph

26 Commits

Author SHA1 Message Date
Anton Grigoryev
433e9bc5d3 Now it works in case if we have bad clock settings on the client. 2015-04-11 08:46:49 +03:00
Anton Grigoryev
308b76fce1 Now deserialized answer is an object.
name = tl_elem.predicate
It can help us  avoid keys collision in case of TL element has parameter "name"
2015-04-11 09:43:13 +03:00
lds56
4d8cd202f1 Add auth error handling 2015-04-04 15:18:45 +08:00
Anton Grigoryev
77a192e0a8 Naive TL message container implementation 2015-03-24 08:49:27 +03:00
Anton Grigoryev
262f0f5f2b Some bytearrays were replaced with bytes. 2015-03-17 20:26:22 +03:00
Anton Grigoryev
32b99a298c Could not extract type: vector<%Message> 2015-03-17 19:28:24 +03:00
Anton Grigoryev
a3c300ee3e Now works on Py2.7 2015-03-17 17:26:36 +03:00
Anton Grigoryev
94ed33bb15 Start of refactoring
A lot of work to be done
2015-03-17 02:02:01 +03:00
Anton Grigoryev
0d79c88636 Auth successful
Python 2 is not supported since to_bytes function in testing.py
2015-03-17 01:04:23 +03:00
Anton Grigoryev
e21614b1b2 crypt module refactor. need to be tested in py2 2015-03-16 17:59:59 +03:00
Sammy Pfeiffer
343d07240b Unified py3 checking of version (kind of) and now we support py3.2+ as I've tried it on a machine 2015-03-16 12:38:12 +01:00
Sammy Pfeiffer
438a1c294b Fixed something that didnt happen before in py2 2015-03-16 12:23:14 +01:00
Anton Grigoryev
d4e229b084 next step - to decrypt answer with AES 2015-03-13 19:21:49 +03:00
Anton Grigoryev
67ccf0f5ea 3-byte error in large string send fixed.
Now getting encrypted answer!
2015-03-13 16:58:27 +03:00
Anton Grigoryev
4c1b5bd54f tests directory 2015-03-13 13:39:31 +03:00
Sammy Pfeiffer
65683a1686 Adapted the current testing.py to work also with python2.7
This sets a 'way of working' on py3 to make it work on both versions (i think)
2015-03-12 22:42:24 +01:00
Anton Grigoryev
c01bb7871b Trying to go through step 4.
Generatin encrypted_data

But server doesn't answer ((
2015-03-12 19:29:56 +03:00
Anton Grigoryev
66a5577ab9 Some refactor
now testing.py looks almost just like i want.
2015-03-12 03:17:43 +03:00
Anton Grigoryev
24a1b9b36b Method_send implemented
I want to call methods like a functions in Python.
Then I can go further.
2015-03-12 02:51:24 +03:00
Anton Grigoryev
c1c5c5d18a testing.py works
please test it :)
2015-03-12 01:52:26 +03:00
Anton Grigoryev
904c6c0f6a Some comments to continue tomorrow 2015-03-11 20:06:53 +03:00
Anton Grigoryev
80b7367a02 TL Schema moved to JSON mode.
Important comments added
2015-03-11 19:55:55 +03:00
Anton Grigoryev
0f5927909d Credentials parser.
Now testing example is in REPO
2015-02-26 14:46:38 +03:00
Anton Grigoryev
7d22608fbd TL schema parsing. PQ factorization
TODO: dynamic methods and constructors generator
2015-02-26 14:03:41 +03:00
Anton Grigoryev
57afc246ee Send and receive messages successfully.
TL schema parsing

TODO: dynamic methods and constructors generator
2015-02-25 18:30:03 +03:00
Anton Grigoryev
ea8f34852f Initial commit3 2015-02-24 12:54:00 +03:00