linux – 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.
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

相关文章

linux常用进程通信方式包括管道(pipe)、有名管道(FIFO)、...
Linux性能观测工具按类别可分为系统级别和进程级别,系统级别...
本文详细介绍了curl命令基础和高级用法,包括跳过https的证书...
本文包含作者工作中常用到的一些命令,用于诊断网络、磁盘占满...
linux的平均负载表示运行态和就绪态及不可中断状态(正在io)的...
CPU上下文频繁切换会导致系统性能下降,切换分为进程切换、线...