加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – GPG没有足够的熵

发布时间:2020-12-13 18:41:08 所属栏目:Linux 来源:网络整理
导读:我有很多进程在后台运行以尝试获得足够的熵,但我仍然失败. **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 give
我有很多进程在后台运行以尝试获得足够的熵,但我仍然失败.
**We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard,move the mouse,utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 210 more bytes)**

我需要一种方法来生成有效的密钥,因为我正在尝试做的事情显然是失败的.

解决方法

你看过RNG了吗?

Fedora / Rh / Centos类型:sudo yum install rng-tools

关于deb类型:sudo apt-get install rng-tools来设置它.

然后在生成密钥之前运行sudo rngd -r / dev / urandom.

参考:http://it.toolbox.com/blogs/lim/how-to-generate-enough-entropy-for-gpg-key-generation-process-on-fedora-linux-38022

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读