All of lore.kernel.org
 help / color / mirror / Atom feed
From: Udo van den Heuvel <udovdh@xs4all.nl>
To: Adrian Bunk <bunk@kernel.org>
Cc: linux-kernel@vger.kernel.org, mpm@selenic.com, mb@bu3sch.de
Subject: Re: possible BUG while doing gpg --gen-key
Date: Sat, 25 Aug 2007 08:21:44 +0200	[thread overview]
Message-ID: <46CFCA78.2090500@xs4all.nl> (raw)
In-Reply-To: <20070825011419.GL30705@stusta.de>

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.

  parent reply	other threads:[~2007-08-25  6:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24 16:30 possible BUG while doing gpg --gen-key Udo van den Heuvel
2007-08-24 17:57 ` Benoit Boissinot
2007-08-24 18:05   ` Udo van den Heuvel
2007-08-24 19:32     ` Benoit Boissinot
2007-08-25  1:14 ` Adrian Bunk
2007-08-25  5:11   ` Udo van den Heuvel
2007-08-25  6:21   ` Udo van den Heuvel [this message]
2007-08-25 12:57     ` Udo van den Heuvel
2007-09-02 11:55       ` Andrew Morton
2007-09-05 16:40         ` Andrew Morton
2007-09-05 16:49           ` Udo van den Heuvel
2007-09-05 16:58             ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46CFCA78.2090500@xs4all.nl \
    --to=udovdh@xs4all.nl \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mb@bu3sch.de \
    --cc=mpm@selenic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.