Date: Tue, 14 Aug 2001 12:47:01 +0200 From: "Karsten W. Rohrbach" <karsten@rohrbach.de> To: Ken McGlothlen <mcglk@artlogix.com> Cc: ports@freebsd.org Subject: Re: gpg 1.0.6 question regarding --gen-key and /dev/random. Message-ID: <20010814124701.C4373@mail.webmonster.de> In-Reply-To: <87pua67ya4.fsf@ralf.artlogix.com>; from mcglk@artlogix.com on Wed, Aug 08, 2001 at 07:38:43PM -0700 References: <87pua67ya4.fsf@ralf.artlogix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--IpbVkmxF4tDyP/Kb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable put the interrupt numbers of your network card and disk controller into /etc/rc.conf's rand_irqs entry: rand_irqs=3D"9 10 11" # 9=3Dmux 10=3Dahc0 11=3Dtx0 and reboot or add them manually with rndcontrol(8) rndcontrol -s 9 rndcontrol -s 10 rndcontrol -s 11 then you should have sufficient entropy do not use the clock int ;-) /k Ken McGlothlen(mcglk@artlogix.com)@2001.08.08 19:38:43 +0000: > I recently installed gpg 1.0.6, under the pretense that it was about time= I > started using some sort of encryption and digital signing package on a so= mewhat > more regular basis. >=20 > It installed smoothly, runs fine, except that I can't seem to generate a = key > very efficiently using the --gen-key option. I select the defaults on wh= at > kind of key I want (DSA and ElGamal), ask for a 1024-bit key (again, the > default), ask it for a 146-day key (expires January 1), give it my real n= ame > and email address, type in a passphrase twice, and then I get this: >=20 > We need to generate a lot of random bytes. It is a good idea to p= erform > 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. > ++++++++++++++++++++++++++++++.+++++++++++++++..++++++++++++++[..= .] >=20 > Not enough random bytes available. Please do some other work to = give > the OS a chance to collect more entropy! (Need 300 more bytes) >=20 > I figured, well, that should be easy enough---I have to upgrade mozilla f= rom > ports anyway. So I started a "make" on /usr/ports/www/mozilla/, and read= my > mail and some Usenet from my Gnus process, and so on. >=20 > I started this up at 5:30pm, roughly. It's now after 7:30pm. gpg hasn't= given > me any indication that it's getting more random bytes (no symbols are > printing), and it's using no CPU time. Mozilla is still compiling (this = on a > 700MHz Athlon---dang!), and I've been doing a bunch of other things as we= ll. >=20 > Is something broken? Should gpg be using /dev/urandom instead of /dev/ra= ndom? >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message --=20 > Coders do it with a routine. KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.n= et/ karsten&rohrbach.de -- alpha&ngenn.net -- alpha&scene.org -- catch@spam.de GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 B= F46 Please do not remove my address from To: and Cc: fields in mailing lists. 1= 0x --IpbVkmxF4tDyP/Kb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7eQGlM0BPTilkv0YRAl9WAKCfYKgSqq7EHLoQx6lRu3/Uwks1fQCgqMw1 5aA4roKro6WQ726hBFLhV4o= =j5Ad -----END PGP SIGNATURE----- --IpbVkmxF4tDyP/Kb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010814124701.C4373>