Page 1 of 1

PGP: Zu wenig Load um Key zu erstellen?

Posted: 2008-02-23 15:42
by simcen
Moin Zusammen

Ist schon fast peinlich, diese Frage zu stellen, aber ich kann keinen PGP-Key erstellen.
pgp meldet folgendes:
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 278 more bytes)
Dann bleibt es stehen.
Mit

Code: Select all

ab -n 10000000 -c 1000 http://localhost/
hab ich mal ein wenig die CPU hochgetrieben - war auch nicht wirkungsvoll.
Gibt es einen Tipp, wie ich am besten noch ein paar Random-Bytes erstellen kann?

Merci für eure Hilfe ;)
Simon

Re: PGP: Zu wenig Load zum Key zu erstellen?

Posted: 2008-02-23 15:45
by oxygen
Entropy gewinnt der Linux Kernel über Maus- und Tastatureingaben und IDE Timings. Maus und Tastatur fällt wohl weg, bleiben noch die IDE Timings. Versuchmal was mit rsync oder hdparm (hdparm -tT /dev/sda oÄ). Wenn das auch nicht hilft, kannst du es mal mit EGD probieren.

Re: PGP: Zu wenig Load zum Key zu erstellen?

Posted: 2008-02-23 16:02
by simcen
oxygen wrote:hdparm -tT /dev/sda
Das hat geholfen.
Danke für die interessante Antwort!