gpg(GnuPG)生成**时卡住在We need to generate a lot of random bytes

原文链接:https://blog.csdn.net/qq_38493182/article/details/106506697

**

gpg生成**时,提示需要一些随机数

**
我们需要生成大量的随机字节。这个时候您可以多做些琐事(像是敲打键盘、移动
鼠标、读写硬盘之类的),这会让随机数字发生器有更好的机会获得足够的熵数。

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.

这时候通过打字和移动鼠标很难满足。
解决办法是安装 rng-tools 这个工具,通过 yum install rng-tools完成安装。
之后再执行命令:rngd -r /dev/urandom,生成**就能瞬间完成了。

gpg(GnuPG)生成**时卡住在We need to generate a lot of random bytes