From owner-freebsd-stable Sat Oct 27 5:42:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by hub.freebsd.org (Postfix) with ESMTP id CA07F37B405 for ; Sat, 27 Oct 2001 05:42:15 -0700 (PDT) Received: from d1o907.telia.com (d1o907.telia.com [195.252.38.241]) by maila.telia.com (8.11.6/8.11.6) with ESMTP id f9RCgEK02167; Sat, 27 Oct 2001 14:42:14 +0200 (CEST) Received: from ludd.luth.se (h216n2fls21o907.telia.com [213.66.203.216]) by d1o907.telia.com (8.8.8/8.8.8) with ESMTP id OAA14717; Sat, 27 Oct 2001 14:42:09 +0200 (CEST) Message-ID: <3BDAABBF.7020706@ludd.luth.se> Date: Sat, 27 Oct 2001 14:42:39 +0200 From: Joachim =?ISO-8859-1?Q?Str=F6mbergson?= Organization: Acne User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.4) Gecko/20011007 X-Accept-Language: en-US MIME-Version: 1.0 To: "Chad R. Larson" Cc: stable Subject: Re: SIGPFE problems on Athlon processors running 4.3-STABLE References: <3BD71BB0.6090203@ludd.luth.se> <20011026093054.B239@freeway.dcfinc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Aloha! Chad R. Larson wrote: > On Wed, Oct 24, 2001 at 09:51:12PM +0200, Joachim Strömbergson wrote: > >>Finally, gnupg also have problems. It simply never quits waiting for >>entropy during key generation. I try to use the smallest key size, >>but gnupg locks up even though I use the machine and the keyboard for >>hours. >> > > I had that problem when using /dev/urandom as a file during openssl > rsa key generation. Seems openssl reads to end-of-file on the paths > you give it as sources of randomness (they suggest large compressed > data files). But /dev/urandom never returns EOF, just increasingly > non-random bytes. > > Changing to /dev/random fixed that. > > How are you collecting entropy during your key generation? This might sound stupid, but I actually don't know. What I did was to do a "make install PREFIX=/usr/opt" in the /usr/ports/security/gnupg directory to add the port to our system. After completion, I simply tried to use the tool to generate key. "gpg --gen-key" I belive it is (not at the job right now). I tried big and small sizes of the key and the all hanged after informing me that there wasn't enough entropy and that I needed to work with the keyboard to generate some more. So, this might be an answer to at least the gnupg problem. How do I instruct/make gpg select /dev/random instead? -- Med vänlig hälsning, Cheers! Joachim Strömbergson ============================================================================ Joachim Strömbergson - ASIC designer, nice to *cute* animals. snail: phone: mail & web: Sävenäsgatan 5A +46 31 - 27 98 47 watchman@ludd.luth.se 416 72 Göteborg +46 733 75 97 02 www.ludd.luth.se/~watchman ============================================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message