|
From: Randall J P. <rp...@eu...> - 2003-05-29 14:57:28
|
I was unable to get OpenPGP to import private keys unless they were created by OpenPGP. This particular exception sounds like you are trying to import a RSA legacy type. The new type is easy to tell check the key pair for a sub key. Open PGP throws a SHA-1 NYI with DSA/Elgamal private keys created in GNUpg. To make OpenPGP work for me I created a application for creating keys. Note you must follow the complex key example in the cryptix examples if you plan to do decryption/encrytion. I also wrote a keystore singleton class to support opening pubring.gpg and secring.gpg and saving keys. Then I use GNUpg to edit the keystores. Any pair exported from OpenPGP works great in PGP 8.0. I never have had any sort of trouble with Public key OpenPGP imports everything and works well. The only thing we have noticed so far was the old legacy 32 version was faster for encryption. At this point though compatibility is far more important than speed. --------- Original Message --------- DATE: Thu, 29 May 2003 10:54:32 From: Federico Fernandez Cruz <fed...@di...> To: cry...@li... Cc: >Hi all! > >I'm developing an application that issues X509 certificates. I want to >create a PGP certificate but I need some kind of conversions. I have a >PrivateKey from another package (JSS) but if I try to use it within >cryptix I get exceptions about wrong classes. > >I can export my RSA private key in DER format but how can I create a >cryptix PrivateKey object from that? > >Has anyone tried this before? Success? > >Thanks! And sorry for my english!! :-) > > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: eBay >Get office equipment for less on eBay! >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Cryptix-Users mailing list >Cry...@li... >https://lists.sourceforge.net/lists/listinfo/cryptix-users > Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com |