Minal: Okay, making progress. I update the server's distrib from Debian potato to woody. I got Random to compile and install, working on RSA now.
-Scott > On Thu, 6 Feb 2003, Minal Amle wrote: > > > Hello Scott, > > > > I don't think there are any other dependent modules required to get these > > two Crypt modules installed correctly. > > Did you follow the similar commands to install them: > > > > #> gzip -dc Crypt-OpenSSL-Random-0.03.tar.gz | tar xvf - > > #> cd Crypt-OpenSSL-Random-0.03 > > #> perl Makefile.PL > > #> make > > #> make test > > #> make install > > > > and same with Crypt-OpenSSL-RSA-0.17.tar.gz? > > And the sequence should be Crypt-OpenSSL-Random first and then > > Crypt-OpenSSL-RSA. > > > > Regards, > > Minal > > > > > > -----Original Message----- > > From: Scott C. Best <[EMAIL PROTECTED]> > > To: Minal Amle <[EMAIL PROTECTED]> > > Cc: Scott C Best <[EMAIL PROTECTED]>; Kaboodle-devel > > <[EMAIL PROTECTED]>; Varsha Kadam <[EMAIL PROTECTED]> > > Date: Thursday, February 06, 2003 1:38 AM > > Subject: [Kaboodle-devel] Re: Crypt RSA library error > > > > > > >Minal: > > > > > > Heya. I'm having trouble getting the RSA and Random > > >perl modules to compile on the target server. I've sent email > > >to the maintainer, but haven't heard back yet. I've also checked > > >the Debian package archives to see if these modules are available > > >in a pre-compiled package, and they are not. > > > > > > So for now I think the best thing to do is to recode > > >your scripts which call the RSA modules, and have them call the > > >OpenSSL binary directly; ie, via a backtick operator or system() > > >function. Here's an example using backticks: > > > > > >------------------ > > >#!/usr/bin/perl > > > > > >$pword = genPassword(20); > > > > > >$priv = `/usr/bin/openssl genrsa -out ~sbest/keyout -passout > > pass:$pword -des 1024` ; > > > > > >$pub = `openssl rsa -in ~sbest/keyout -passin pass:$pword -pubout` ; > > > > > >print $pub ; > > > > > >sub genPassword { > > > my ($size)=@_; > > > @chars=(48..57,65..90,97..122); > > > my $p=''; > > > foreach (1..$size) { > > > $p .= chr($chars[rand($#chars)]); > > > } > > > return $p; > > >} > > >-------------------- > > > > > > That will create a new 1024 bit RSA key, then print out the > > >public key portion of it. The private key part is DES encrypted with a > > >20-digit random string. Since the password is immediately lost when the > > >script terminates, it's not as if the above does anythign useful except > > >to demonstrate the idea. > > > > > > Sorry for the hassle. I'll keep trying to get the Perl modules > > >you asked for built and installed. > > > > > >-Scott > > > > > > > > >On Wed, 5 Feb 2003, Minal Amle wrote: > > > > > >> Hello Scott, > > >> > > >> I think the Crypt::OpenSSL::RSA and Crypt::OpenSSL::Random perl moudlues > > are not installed onto the server. I tried to include my RSA functions > > today, but it is giving error as > > >> > > >> Software Error: > > >> > > >> [Tue Feb 4 20:57:55 2003] Display.pl: Can't locate Crypt/OpenSSL/RSA.pm > > in @INC (@INC contains: /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 > > /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5 > > .) at databaselib.pl line 7. BEGIN failed--compilation aborted at > > databaselib.pl line 7. > > >> > > >> Can you please check whether they are installed correctly? > > >> > > >> Thanks and Regards, > > >> 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 > > > > > > > > > ------------------------------------------------------- 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