number.py in python-crypto requires libgmp >=5 to avoid PowmInsecureWarning in RHEL6

Solution Verified - Updated -

Issue

  • Getting a python warning that suggests number.py from the python-crypto library 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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.