博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
执行:gpg --gen-key 显示:Not enough random bytes available.
阅读量:6371 次
发布时间:2019-06-23

本文共 2876 字,大约阅读时间需要 9 分钟。

[root@clovemzone ~]$ gpg --gen-keygpg (GnuPG) 1.4.5; Copyright (C) 2006 Free Software Foundation, Inc.This program comes with ABSOLUTELY NO WARRANTY.This is free software, and you are welcome to redistribute itunder certain conditions. See the file COPYING for details.Please select what kind of key you want:   (1) DSA and Elgamal (default)   (2) DSA (sign only)   (5) RSA (sign only)Your selection? 1DSA keypair will have 1024 bits.ELG-E keys may be between 1024 and 4096 bits long.What keysize do you want? (2048)Requested keysize is 2048 bitsPlease specify how long the key should be valid.         0 = key does not expire      
= key expires in n days
w = key expires in n weeks
m = key expires in n months
y = key expires in n yearsKey is valid for? (0) 0Key does not expire at allIs this correct? (y/N) yYou need a user ID to identify your key; the software constructs the user IDfrom the Real Name, Comment and Email Address in this form: "Heinrich Heine (Der Dichter)
"Real name: clovemzoneEmail address: clovem@gmail.comComment: clovem keyYou selected this USER-ID: "clovemzone (fdfd)
"Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? OYou need a Passphrase to protect your secret key.You don't want a passphrase - this is probably a *bad* idea!I will do it anyway. You can change your passphrase at any time,using this program with the option "--edit-key".We need to generate a lot of random bytes. It is a good idea to performsome other action (type on the keyboard, move the mouse, utilize thedisks) during the prime generation; this gives the random numbergenerator a better chance to gain enough entropy..+++++.+++++++++++++++.+++++..+++++++++++++++++++++++++..+++++..+++++.++++++++++++++++++++.++++++++++++++++++++++++++++++..++++++++++++++++++++>.++++++++++..........................................+++++Not enough random bytes available. Please do some other work to givethe OS a chance to collect more entropy! (Need 274 more bytes)

解决方法:

1.原有进程不退出

2.对一个稍大的tar.gz包解压

[root@clovemzone ~]# tar zxvf mysql-5.5.29.tar.gz

会发现执行完成,稍等片刻的时间,上面的进程会继续下去了

+++++++++++++++..+++++++++++++++..++++++++++.+++++.+++++++++++++++.+++++..++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++>.++++++++++>+++++....................+++++^^^^gpg: key 2914933F marked as ultimately trustedpublic and secret key created and signed.gpg: checking the trustdbgpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust modelgpg: depth: 0  valid:   5  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 5upub   1024D/2914933F 2013-06-11      Key fingerprint = C718 A91B 00EE 9FBF 8FB2  4F22 B564 CAFC 2914 933Fuid                  clovemzone (fdfd) 
sub 2048g/CFF2F8BB 2013-06-11

至此问题解决,问题解决的关键就在于这个进程需要更多的随机数什么的,那就给系统点随机字符即可。

转载地址:http://jkuqa.baihongyu.com/

你可能感兴趣的文章
查看ORACLE 数据库及表信息
查看>>
腾讯、百度、阿里面试经验—(1) 腾讯面经
查看>>
Codeforces Round #374 (Div. 2) D. Maxim and Array 贪心
查看>>
HTML DOM 教程Part1
查看>>
GBDT的基本原理
查看>>
MySQL修改root密码的多种方法(转)
查看>>
MongoDB 基础命令——数据库表的增删改查——遍历操作表中的记录
查看>>
.NET Core 跨平台发布(dotnet publish)
查看>>
Activity入门(一)
查看>>
CentOS下如何从vi编辑器插入模式退出到命令模式
查看>>
Mysql索引的类型
查看>>
Eclipse debug模式 总是进入processWorkerExit
查看>>
Nginx的https配置记录以及http强制跳转到https的方法梳理
查看>>
springcloud(十三):Eureka 2.X 停止开发,但注册中心还有更多选择:Consul 使用详解...
查看>>
关于Boolean类型做为同步锁异常问题
查看>>
TestLink运行环境:Redhat5+Apache2.2.17+php-5.3.5+MySQL5.5.9-1
查看>>
Get File Name from File Path in Python | Code Comments
查看>>
显示本月每一天日期
查看>>
[转]java 自动装箱与拆箱
查看>>
NET的堆和栈04,对托管和非托管资源的垃圾回收以及内存分配
查看>>