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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content