问题 While attempting to generate GPG keys (using gpg --gen-key), it may hang after emitting the message: Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 278 more bytes) gpg (GnuPG) 1.4.16 Ubuntu 14.04.2 LTS 回答1: Although rng-tools will work, this is not suggested since it doesn't provide real entropy. See the discussion here: https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/706011 For users that are frustrated by this, here