|
From: Federico F. C. <fed...@di...> - 2003-05-29 15:29:20
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Randall,<br>
<br>
thanks for your answer but... I'll try to explain a litttle deeper.<br>
<br>
I have a RSA Key that I have create with another package (JSS from
mozilla). I can export such key to a PKCS8 format in either encrypted
or plaintext format. <br>
I want to create a PGP certificate which contains such public key on
it. What I am trying to do is reading my RSA private using cryptix.
Because RSA keys are a set of big numbers (public exponent, modulus, P,
Q, etc) I am trying to export my RSA key in a format that cryptix can
read. How to do that? That was my question...<br>
<br>
Thanks<br>
<br>
<br>
Randall J Poznan wrote:<br>
<blockquote type="cite" cite="mid...@wh...">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:fed...@di..."><fed...@di...></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:cry...@li...">cry...@li...</a>
Cc:
</pre>
<blockquote type="cite">
<pre wrap="">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!
<a class="moz-txt-link-freetext" href="http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5">http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5</a>
_______________________________________________
Cryptix-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cry...@li...">Cry...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/cryptix-users">https://lists.sourceforge.net/lists/listinfo/cryptix-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
Need a new email address that people can remember
Check out the new EudoraMail at
<a class="moz-txt-link-freetext" href="http://www.eudoramail.com">http://www.eudoramail.com</a>
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
<a class="moz-txt-link-freetext" href="http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5">http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5</a>
_______________________________________________
Cryptix-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cry...@li...">Cry...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/cryptix-users">https://lists.sourceforge.net/lists/listinfo/cryptix-users</a>
</pre>
</blockquote>
<br>
</body>
</html>
|