Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should I install all of these encryption modules? #262

Open
CCCAUCHY opened this issue Mar 17, 2022 · 2 comments
Open

Should I install all of these encryption modules? #262

CCCAUCHY opened this issue Mar 17, 2022 · 2 comments

Comments

@CCCAUCHY
Copy link

CCCAUCHY commented Mar 17, 2022

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
Copy link

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
Copy link
Owner

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants