While making a GPG key, how can I generate enough entropy?

Solution Verified - Updated -

Issue

  • While creating a GPG key, I spend a lot of time trying to generate entropy, but the process doesn't seem to finish:
gpg --gen-key
gpg (GnuPG) 2.0.14; Copyright (C) 2009 Free Software Foundation, Inc.
...
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.
hygthtrsfsdfgdfg
hgdsfsfsdfahgfh
dsgafsadfsdfdfg^C
gpg: signal Interrupt caught ... exiting

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content