GPG没有足够的熵

Modified on: Tue, 12 Nov 2019 11:00:03 +0800

我在后台运行了大量进程以尝试获得足够的熵,但我仍然失败。

**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

作者:,Danny Staple

相关问答

添加新评论