Re: possible BUG while doing gpg --gen-key

From: Udo van den Heuvel
Date: Sat Aug 25 2007 - 02:22:32 EST


Adrian Bunk wrote:
(...)
> Is CONFIG_HW_RANDOM_VIA enabled in your kernel?
> If yes, does disabling it help?

I disabled rngd.
I disabled audio-entropyd.
netdev-random remained in effect.

Now it works:

(...)
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.

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 44 more bytes)
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.

public and secret key created and signed.

pub 1024D/4A87572B 2007-08-25
Key fingerprint = 534F A772 774A 9C7D E10B FCBF A28E 233F 4A87 572B
uid root! <root@localhost>
sub 2048g/E1BCAD7A 2007-08-25




It even complains about a lack of entropy.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/