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

简介:

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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西瓜 51CTO博客,原文链接:http://blog.51cto.com/molewan/1727258,如需转载请自行联系原作者
目录
相关文章
|
9月前
|
程序员 Go API
译|Don’t just check errors, handle them gracefully(一)
译|Don’t just check errors, handle them gracefully
50 0
|
9月前
|
Java Go API
译|Don’t just check errors, handle them gracefully(二)
译|Don’t just check errors, handle them gracefully(二)
62 0
解决RuntimeError: running_mean should contain 36864 elements not 4096
一般在卷积层Conv2d后添加正则化BNBatchNormal,使得数据在relu激活前不会因为数据过大而导致网络不稳定,而我在代码中BatchNorm2d的输入通道数与前一层Conv2d的输出通道数不一致,导致报这个错,两者修改一直即可(这里修改为36864即可)。
944 0
Multiple Origin composition test - Opportunity Creation case
Sent: Wednesday, 3 December, 2014 2:48 PM 结论是:如果gateway系统上针对一个odata service维护了多个mark成default的backend system,在creation的case下,runtime时候gateway只会向第一个 Default system发起请求。
109 0
Multiple Origin composition test - Opportunity Creation case
header note truncation issue - designed behavior
header note truncation issue - designed behavior
85 0
header note truncation issue - designed behavior
How to find implementation of Requirement defined in Pricing Procedure
How to find implementation of Requirement defined in Pricing Procedure
How to find implementation of Requirement defined in Pricing Procedure

热门文章

最新文章