From owner-freebsd-security Wed Apr 18 9:31: 5 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id 8B0A437B422 for ; Wed, 18 Apr 2001 09:31:01 -0700 (PDT) (envelope-from karsten@rohrbach.de) Received: (qmail 9854 invoked by uid 1000); 18 Apr 2001 16:31:21 -0000 Date: Wed, 18 Apr 2001 18:31:21 +0200 From: "Karsten W. Rohrbach" To: James Greenfield Cc: freebsd-security@FreeBSD.ORG Subject: Re: GPG and "Not enough random bytes available" Message-ID: <20010418183121.D8026@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , James Greenfield , freebsd-security@FreeBSD.ORG References: <026a01c0c780$e4ab3260$4501a8c0@boubou> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <026a01c0c780$e4ab3260$4501a8c0@boubou>; from james@pagearts.co.za on Tue, Apr 17, 2001 at 10:56:36PM +0200 X-Arbitrary-Number-Of-The-Day: 42 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org insert the follwing into ~/.gnupg/options load-extension rndunix then it not ask you any questions. i do not know the implications on the quality of random generated, could somebody deeper into gnupg's intrinsics please comment on this? /k James Greenfield(james@pagearts.co.za)@2001.04.17 22:56:36 +0000: > ----------------------------------------- (on router.pagearts.co.za) > > Mail scanned with Trend Antivirus Interscan Viruswall > > --------------------------------------------------------- > I've just installed GPG 1.0.4 on FreeBSD 4.2-RELEASE. > > Any attempt to generate a keypair results in a message to the effect of "Not > enough random bytes available". Regardless of how much work I make the > system do it doesn't seem to do anything more, GPG just sits there with a > blank expression on its face. > > Some searches on the Web seem to indicate a possible patch to clock.c that > may be the cause of this problem? What's of some concern to me is that all > the threads around this issue seem to indicate that it should require no > more than about 24 bytes of random data, but the message displayed indicates > that 300 bytes more are required. This seems like an awful lot of random > data. > > The messages above also seemed to indicate that a reboot may result in > enough random data for a couple of email messages, but that seems pretty > drastic. > > I realise that there are probably better places to search for this info, but > I'm just getting into FreeBSD again and this is the first time I've been in > a position where I can actively maintain a server that's online (admittedly > not a particularly high profile one, but we've had a couple of people poking > around already, nothing like learning on the job :) > > Regards > James Greenfield -- > Hugh Hefner is a virgin. KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de [Key] [KeyID---] [Created-] [Fingerprint-------------------------------------] GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 BF46 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message