Commit Graph

7 Commits

Author SHA1 Message Date
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
clfs
a6c898f8d1 Update test for key generation via nonces (#323)
Closes #321
2017-10-11 23:26:13 +02:00
Lonami Exo
ba32d6f270 Add crypto test to ensure calculating RSA fingerprints works 2017-08-23 22:26:31 +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
Fadi Hadzh
ef264ae83f Add pre-commit hooks configuration 2016-11-30 00:29:05 +03:00