Created
September 10, 2014 09:47
-
-
Save BrodyCai/b748ba80c0d0b5bd2fd8 to your computer and use it in GitHub Desktop.
FIx "_warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## OS: CentOS 6.2 | |
| ## Python: 2.6.6 | |
| wget https://gmplib.org/download/gmp/gmp-6.0.0a.tar.xz | |
| tar -xJf gmp-6.0.0a.tar.xz | |
| cd gmp-6.0.0 | |
| make & make check & make install | |
| wget https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gz | |
| tar -xzf ./pycrypto-2.6.1.tar.gz | |
| cd pycrypto-2.6.1 | |
| ./configure --includedir=/usr/local/include/ | |
| python setup.py build | |
| pip install ./ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reference:https://gist.github.com/buzztaiki/9460078