From: Sterin, I. \(I.\) <is...@fo...> - 2004-09-11 02:55:25
|
I have an issue, I have to load an RSA private key generated by Java JCE. I have formatted the key to where it is totally compatible with OpenSSL. I've used cygwin openssl rsautl to decrypt something with it, so it's loading fine. I'm having an issue using the Crypt::RSA module, it will not read the key, I guess the problem is that it doesn't understand OpenSSL compliant keys? Crypt::openssl::RSA is not available as a ppm for windows, so I can't test and use it, as this will be deployed on windows and unix platforms. I guess I'm looking for some general solutions to this. How can I format the key to be compatible with Crypt::RSA, or how can I use Crypt::OpenSSL::RSA on windows. Also, the unix system where this will be deployed is a very old solaris version and openssl is not installed on it (and it won't be, trust me that's not my decision:-) I guess I'm looking for a pure perl solution to decrypt files with RSA private keys. Any help would be appreciated. Thanks. |