On Fri, 3 Aug 2001, Frank Geck wrote:

> I have the same issue. I used the openssl rand -out randfile 1024.  this created
> the random bit file.  I pointed RANDFILE to this file and get the same error
> PRNG not seeded.
>
> By the response below do I take it that the supplied enc.c program is wrong and
> we need to add RAND_seed()?

..or patch kernel to get random device.

I'd rather say it's a bit lazy code. Yes, me guilty as well while making
some examples. Everything is Ok there regarding PKCS7.
The only point is one could consider to use OAEP for new development.
Still everyone is *required* to care his PRNG himself to do
any crypto for production. Point is openssl code will read random device
available on some OS including linux and freebsd resulting in
such an example program running there.

have fun with never-ending "seed your PRNG!" story,
Vadim


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to