number.py in python-crypto requires libgmp >=5 to avoid PowmInsecureWarning in RHEL6
Issue
- Getting a python warning that suggests
number.pyfrom thepython-cryptolibrary requires libgmp >=5 when the libgmp version available in RHEL6 is verion 4:
/usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57:
PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp
>= 5 to avoid timing attack vulnerability.
_warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning).
Environment
- Red Hat Enterprise Linux (RHEL) 6
- gmp-4.3.1-7.el6_2.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
