OK, this has got me stumped.. so it just has to be something obvious..

I am attemting to use Crypt::OpenPGP to encrypt some data. To do this I 
need to generate some keys.. (ok that's all obvious too..get to the 
point, J)

On my development server everything runs fine producing useable public & 
private keys. I've added a subroutine to my lil web system (running on 
mod_perl) that takes the required arguements and feeds them to OpenPGP's 
keygen method. On our production server this dies with the message 
"[error] PARI:  ***   incorrect type in comparison. at 
/usr/lib/perl5/site_perl/5.6.1/Crypt/Primes.pm line 683."

Now what's really got me stumped, is feeding the same sub with the same 
arguements in an independant perl script run from the command line on 
the production (and development) server runs fine and produces usable 
public & private keys.

My only guess is that somehow mod_perl on the production server is using 
  a different library of modules than perl run from the command line is 
using but I can't believe that I wouldn't have had troubles long ago if 
that were the case.

Anyone? any clues on where to start looking?

Development Apache/1.3.20 (Unix) mod_perl/1.25
Production  Apache/1.3.20 (Unix) mod_perl/1.26

cheers

-- 
J
Web Developer

Eight Degrees Off Centre
http://www.eightdegrees.com.au/

Reply via email to