Lonami Exo
|
f72ddbdd5a
|
Implement retry and fail cases in authenticator
|
2018-06-07 17:25:02 +02:00 |
|
Lonami Exo
|
df895a94ab
|
Create auth_key if not present
|
2018-06-07 16:32:12 +02:00 |
|
Lonami Exo
|
ae87d452c8
|
Clean-up docs and merge some imports
|
2018-05-30 18:55:01 +02:00 |
|
Lonami Exo
|
39621ceae9
|
Use req_pq_multi instead req_pq when creating an auth_key
|
2018-02-19 20:31:47 +01:00 |
|
Lonami Exo
|
9046b46fcd
|
Document the network/ module
|
2017-11-30 13:21:01 +01:00 |
|
Lonami Exo
|
74ec6391d9
|
Fix-up security assertion (b42b4bb for #453)
|
2017-11-24 19:05:52 +01:00 |
|
Maxim Smirnov
|
b42b4bb326
|
Add OpenSSL assertion on authenticator.py (#453)
aes_ige.c(88): OpenSSL internal error, assertion failed
|
2017-11-24 18:47:36 +01:00 |
|
Lonami Exo
|
adb79b21cf
|
Replace .to_bytes() with the special .__bytes__ function
|
2017-10-17 19:54:59 +02:00 |
|
Lonami Exo
|
3a4662c3bf
|
Remove forgotten print call from authenticator.py
|
2017-10-12 16:07:25 +02:00 |
|
Lonami Exo
|
b3f04fd359
|
Raise AssertionError instead TypeNotFoundError on authenticator
|
2017-09-29 13:07:21 +02:00 |
|
Lonami Exo
|
fe30f63d5d
|
Use autogen code on the authenticator instead hardcoding requests
|
2017-09-28 11:36:51 +02:00 |
|
Lonami Exo
|
7f83a6109f
|
Fix authenticator was disconnecting when it shouldn't
|
2017-09-21 13:54:44 +02:00 |
|
Lonami Exo
|
2b2da843a1
|
Create a Connection only once and avoid no-op if was "connected"
|
2017-09-21 13:44:22 +02:00 |
|
Lonami Exo
|
78155a21bd
|
Retry authentication for auth keys up to five times by default
|
2017-09-17 19:15:43 +02:00 |
|
Lonami Exo
|
97cab7347b
|
Make lint happier
|
2017-09-04 17:10:04 +02:00 |
|
Lonami Exo
|
b4811261e9
|
Set a known buffer size if possible on BinaryWriter()s
|
2017-08-29 20:44:51 +02:00 |
|
Lonami Exo
|
fa22a3f848
|
Create a centralized Connection class, replaces TcpTransport (#112)
|
2017-08-28 21:23:31 +02:00 |
|
Lonami Exo
|
66876b6722
|
Use pycrypto's RSA instead the old weird RSA implementation
|
2017-08-23 21:49:27 +02:00 |
|
Hasan
|
c13164f5cf
|
Use the correct amount of random bytes in DH request
The official documentation says a 2048 *bit* number.
`os.urandom` takes an argument that represents the number of *bytes*.
2048 bits is 256 bytes
|
2017-06-18 23:38:14 +02:00 |
|
Lonami Exo
|
7adb4f09d6
|
Slightly reorganise the project structure
|
2017-06-09 16:13:39 +02:00 |
|
Lonami Exo
|
7acfd0c6c9
|
Update to v0.10 and some minor grammar fixes
|
2017-06-03 13:36:41 +02:00 |
|
Lonami Exo
|
153cbfd350
|
Use more straightforward calls of hashlib.sha1/sha256
|
2017-06-02 16:49:03 +02:00 |
|
Lonami Exo
|
02a847b64a
|
Make lint happier
|
2017-05-21 13:59:16 +02:00 |
|
Lonami Exo
|
63c89af983
|
Use relative imports always where possible
|
2017-05-21 13:02:54 +02:00 |
|
Lonami Exo
|
ca80b05694
|
Add shebangs and set proper file permissions
|
2017-05-20 15:58:44 +02:00 |
|
Lonami Exo
|
468033fa7e
|
Avoid counterintuitive automatic connection
|
2017-05-20 11:33:37 +02:00 |
|
Lonami Exo
|
8e48455cdc
|
Fix bug introduced in #d08794 found by @k1-hedayati
|
2017-01-13 21:22:53 +01:00 |
|
Fadi Hadzh
|
d087941bd0
|
Many code-style improvements
|
2016-11-30 00:29:42 +03:00 |
|
Lonami
|
51a531225f
|
Totally refactored source files location
Now it *should* be easier to turn Telethon
into a pip package
|
2016-09-17 20:45:12 +02:00 |
|