You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.

错误提示“You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.”

[root@linux-node1 images]# openstack-status
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     active
== Support services ==
libvirtd:                               active
messagebus:                             active
rabbitmq-server:                        active
memcached:                              inactive  (disabled on boot)
== Keystone users ==
/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)

处理方法:

说明:在Centos6.7系统中自带GMP version 4,但是一些应用如PyCrypto需要使用GMP >= 5。

# yum -y groupinstall "Development tools"
# yum -y install gcc libgcc glibc libffi-devel libxml2-devel libxslt-devel openssl-devel zlib-devel bzip2-devel ncurses-devel python-devel
# tar xvjf gmp-6.1.0.tar.bz2 
# cd gmp-6.1.0
# ls
# ./configure 
# echo $?
# make
# echo $?
# make check
# echo $?
# make install
# echo $?
# yum install python-pip -y
#pip install --ignore-installed PyCrypto
# /etc/init.d/openstack-keystone restart

问题得到解决,记录下


你可能感兴趣的:(gmp,openstack错误提示)