alexbers / mtprotoproxy

Async MTProto proxy for Telegram
MIT License
1.59k stars 351 forks source link

Should I install all of these encryption modules? #262

Open CCCAUCHY opened 2 years ago

CCCAUCHY commented 2 years ago

Sorry, I am not good at python. It seems that this doc mentions 3 encryption modules. Should I install all?

https://github.com/alexbers/mtprotoproxy/wiki/Optimization-and-Fine-Tuning

And how to confirm they have been installed? Found uvloop, using it for optimal performance Will encryption modules show text like this after I install them by using pip?

rahmadi89 commented 1 year ago

you could first install pip (for example on ubuntu you can use: sudo apt install python3-pip )

and then use command: pip list to check which library is installed now.

alexbers commented 1 year ago

You can use docker-compose, it installs all required modules.

If you want to run without docker-compose, you should install pycryptodome or cryptography package. They can be installed with OS package manager (yum, apt, dnf, emerge, ...) or with pip

It no crypto libraries found, you will get the message

To make the program a *lot* faster, please install cryptography module:
pip install cryptography