I'm trying to use M2Crypto to access some https pages through an external method, but I get this error: SSLError: SSLEAY_RAND_BYTES: PRNG not seeded How do I seed the PRNG? I am using the windows binary of M2Crypto-0.05-snap3 Thanks, Erik Myllymaki erik@pacific-shores.com
On Tue, Oct 24, 2000 at 07:23:30AM -0700, Erik Myllymaki wrote:
I'm trying to use M2Crypto to access some https pages through an external method, but I get this error:
SSLError: SSLEAY_RAND_BYTES: PRNG not seeded
How do I seed the PRNG?
Hmmm, getting behind on my mail... ;-) There should be a file 'randpool.dat' in the M2Crypto distribution. This is created from my FreeBSD's /dev/random, and contains enough randomness to satisfy OpenSSL. Copy that file to where your external method's .py lives. Let me know if it doesn't work. I've been very busy recently. No time to work on M2Crypto and Zope crypto stuff at all. ;-( In future, for (marginally ;-) better response time, write me direct. Cheers. -- Ng Pheng Siong <ngps@post1.com> * http://www.post1.com/home/ngps
participants (2)
-
Erik Myllymaki -
Ng Pheng Siong