On Thu, Oct 11, 2001 at 03:27:29PM -0700, ComCity wrote:
> I'm having trouble with the -rand command...I'm missing a critical piece of
> information which I have not been able to figure out on my own.
> Whenever I use the -rand modifier, my terminal just sits there and hangs.
> Intrupting out leaves me with a blank key.  I type the following.
> 
> >openssl genrsa -rand /dev/urandom -out www.domain.com.key 1024
> it hangs...
> 
> If I type this:
> >openssl genrsa -out www.domain.com.key 1024
> everything works but it complains about the random number generator not
> being properly seeded.
> 
> Anybody know what I'm doing wrong?

Please name the platform, as your statement is confusing.
* If you have a /dev/urandom device, using -rand /dev/urandom will request
  entropy without limit, therefore the process will never terminate, as
  /dev/urandom will deliver random bytes infinitely. (Consistent with
  your description.)
* If you have a /dev/urandom device, the OpenSSL library will automatically
  query it and the process should succeed. This is contradicted by your
  statement.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to