码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-12-22 19:40:30      阅读:426      评论:0      收藏:0      [点我收藏+]

标签:openstack错误提示 gmp

错误提示“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

问题得到解决,记录下


本文出自 “冰冻vs西瓜” 博客,请务必保留此出处http://molewan.blog.51cto.com/287340/1727258

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

标签:openstack错误提示 gmp

原文地址:http://molewan.blog.51cto.com/287340/1727258

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!