From owner-freebsd-security Tue Apr 17 13:57:12 2001 Delivered-To: freebsd-security@freebsd.org Received: from router.pagearts.co.za (router.pagearts.co.za [196.25.102.154]) by hub.freebsd.org (Postfix) with ESMTP id 7072637B423 for ; Tue, 17 Apr 2001 13:56:56 -0700 (PDT) (envelope-from james@pagearts.co.za) Received: from boubou (localhost [127.0.0.1]) by router.pagearts.co.za (8.11.0/8.10.1) with SMTP id f3HKslx12664 for ; Tue, 17 Apr 2001 22:54:47 +0200 Message-ID: <026a01c0c780$e4ab3260$4501a8c0@boubou> From: "James Greenfield" To: Subject: GPG and "Not enough random bytes available" Date: Tue, 17 Apr 2001 22:56:36 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Content-type: multipart/mixed; boundary="=_IS_MIME_Boundary" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --=_IS_MIME_Boundary Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit ----------------------------------------- (on router.pagearts.co.za) Mail scanned with Trend Antivirus Interscan Viruswall --------------------------------------------------------- --=_IS_MIME_Boundary Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 --=_IS_MIME_Boundary-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message