Lonami Exo
5d9cf513bd
Update usage of deprecated methods in the docs
2018-04-25 09:55:34 +02:00
Marius Räsener
69d283a296
Tests cleanup ( #717 )
2018-03-24 12:12:47 +01:00
Lonami Exo
f4182376f1
Move utils.calc_msg_key into auth_key (cyclic imports py3.4)
2018-01-08 12:07:14 +01:00
Lonami Exo
6f690945f1
Add a few security checks when unpacking messages from server
...
Also delete MtProto 1.0 leftovers.
2018-01-06 02:03:23 +01:00
Lonami Exo
ab07f0220a
Save dc_id instead layer and salt in the session file
...
Server salts change every 30 minutes after all, so keeping them
in the long-term storage session file doesn't make much sense.
Saving the layer doesn't make sense either, as it was only used
to know whether to init connection or not, but it should be done
always.
2017-12-28 01:06:27 +01:00
clfs
a6c898f8d1
Update test for key generation via nonces ( #323 )
...
Closes #321
2017-10-11 23:26:13 +02:00
Lonami Exo
71c2a82b3d
Completely remove BinaryWriter from the project
2017-09-28 11:49:45 +02:00
Lonami Exo
97cab7347b
Make lint happier
2017-09-04 17:10:04 +02:00
Lonami Exo
fa22a3f848
Create a centralized Connection class, replaces TcpTransport ( #112 )
2017-08-28 21:23:31 +02:00
Lonami Exo
4384ccb132
Tidy up TelegramBareClient.download_file CDN's mess
2017-08-24 18:00:47 +02:00
Lonami Exo
8cfc4d0fda
Add a unit test for CDN-downloads
2017-08-24 16:12:38 +02:00
Lonami Exo
ba32d6f270
Add crypto test to ensure calculating RSA fingerprints works
2017-08-23 22:26:31 +02:00
Lonami Exo
7adb4f09d6
Slightly reorganise the project structure
2017-06-09 16:13:39 +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
strayge
6729219761
minor fix in network test
2017-02-19 20:21:25 +06:00
Fadi Hadzh
d087941bd0
Many code-style improvements
2016-11-30 00:29:42 +03:00
Fadi Hadzh
ef264ae83f
Add pre-commit hooks configuration
2016-11-30 00:29:05 +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