----------  Forwarded Message  ----------

Subject: Fwd: Crypt::RSA key generation problem
Date: Thu, 23 Jan 2003 20:49:50 -0500
From: Minal Amle <[EMAIL PROTECTED]>
To: "Scott C. Best" <[EMAIL PROTECTED]>;[EMAIL PROTECTED]

Hello Scott,

Below is the reply from the Author of the Crypt::RSA library.

Regards,
Minal


I would imagine your /dev/random device runs out of entropy so the module
waits for it to generate more randomness. Moving your mouse, doing other
things on the machine should help. You should strace(1) the process to see
whats going on.

cheers,
vipul

On Wed, Jan 22, 2003 at 02:45:59PM +0530, Minal Amle wrote:
> Hello Vipul,
> I am facing a problem in Crypt::RSA key generation function. It hangs

after

> some iteration. What could be the reason for it. I am using version 1.50.
> Please help me in sorting out this.
>
> Here is my code
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
>
> use Crypt::RSA;
> $rsa = new Crypt::RSA;
>
> ($public, $private) =
>     $rsa->keygen (
>             Size      => 512,
>         ) ;
>
>       print "done";
>       if( $rsa->errstr() )
>       {
>               print "== $rsa->errstr";
>       }
>
>       print "Public Key -> $public \n\n";
>       print "Private Key -> $private \n\n";

-------------------------------------------------------

-- 
Minal Amle
Software Engineer
OAS Information Systems Pvt. Ltd.
#2, Symphony-C, Range Hills Road,
Pune 411020
Tel: +91 20 5520311
Fax: +91 20 5520312
Email: [EMAIL PROTECTED]
http://www.oas.co.in


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Kaboodle-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kaboodle-devel

Reply via email to