RE: RSA_verify question

2002-01-16 Thread Hylton Tregenza
resouces available to me. A detailed description is in the mail below. I may be able to attach some of the windows code if required. Thanks Hylton -Original Message- From: Hylton Tregenza Sent: 04 January 2002 11:11 To: [EMAIL PROTECTED] Subject: RSA_verify question Hi I am using

RE: RSA_verify question

2002-01-16 Thread Hylton Tregenza
Hi I have found the answer. The data was revered between the 2 platforms. By reversing the string I am able to get RSA_verify to work. Hylton -Original Message- From: Hylton Tregenza Sent: 04 January 2002 11:11 To: [EMAIL PROTECTED] Subject: RSA_verify question Hi I am using

RE: RSA_verify question

2002-01-16 Thread Hylton Tregenza
-- Resent as mail did not arrive at list by 15/1/2002 Hi I have spent some more time on this and have been unable to find a solution. Has anyone been able to pass signed data from Windows to Linux and back and verify the data using RSA_Sign and RSA_Verify. If you have, your help is needed. I

RSA_verify question

2002-01-07 Thread Hylton Tregenza
I need to take to resolve this or what the problem(s) could be. My app is not too large and is attached for additional info. Hylton Tregenza z.cpp Description: z.cpp

Test

2001-12-21 Thread Hylton Tregenza
Test == Brought to you by Ananzi Mail [http://mail.ananzi.co.za] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager

using MS Keys to create a certificate. Help needed - detailed explanation given

2001-12-21 Thread Hylton Tregenza
Hi all I am still battling with getting a key exported as a public key blob from a MS platform into openssl on Linux to add to a certificate. I have learned that MS exports the key as a PKCS#1 structure. the key is a 512 bit (64 Byte) key. When I write this blob to file it is 84 Bytes in

[no subject]

2001-12-21 Thread Hylton Tregenza
Hi Thanks for the responce. MSKeyblob file (attached) is the exported public key written to file I will look into the RSA_PUBKEY functions too. Hylton // a while later Update - Using the Rsa = d2i_RSA_PUBKEY(...) Rsa is null and the following error message is given.

MS and open SSL integration.

2001-12-15 Thread Hylton Tregenza
Hi all Expert help required. I need to be able to store and use the public key of a client that will be exported from an MS machine (using the CryptExportKey) function. How do I interpret this data. (I will be receiving it on a socket) and convert it to an RSA *. I will need to use it to sign

MS and OpenSSL integration.

2001-12-15 Thread Hylton Tregenza
[EMAIL PROTECTED] ... Sending again as original appears to be stuck somewhere Hi all Expert help required. I need to be able to store and use the public key of a client that will be exported from an MS machine (using the CryptExportKey) function. How do I interpret this data. (I will be

Generating openssl keypair.

2001-12-10 Thread Hylton Tregenza
Hi I am trying to understand the method of generating key pais with openssl. The command openssl genrsa -des3 -out ca.key 2048 gives me a file ca.key that looks something like this. -BEGIN RSA PRIVATE KEY-

RE: Generating openssl keypair.

2001-12-10 Thread Hylton Tregenza
Solved. -Original Message- From: Hylton Tregenza Sent: 10 December 2001 04:06 To: [EMAIL PROTECTED] Subject: Generating openssl keypair. Hi I am trying to understand the method of generating key pais with openssl. The command openssl genrsa -des3 -out ca.key 2048 gives me a file

RE: RSA Keys

2001-12-04 Thread Hylton Tregenza
Alex, thanks for the responce. Here's a follow up question. d2i_PublicKey has a type as the first parameter. What are they refereing to? What do they want in this field? Hylton -Original Message- From: Alexander Kuit [mailto:[EMAIL PROTECTED]] Sent: 03 December 2001 05:21 To: [EMAIL

RE: RSA Keys

2001-12-04 Thread Hylton Tregenza
Alex, thanks for the responce. Here's a follow up question. d2i_PublicKey has a type as the first parameter. What are they refereing to? What do they wnt in this field? Hylton -Original Message- From: Alexander Kuit [mailto:[EMAIL PROTECTED]] Sent: 03 December 2001 05:21 To: [EMAIL

Adding extensions X509_REQ or X509?

2001-11-29 Thread Hylton Tregenza
Good morning By difficulty -- From what I can make out of the docs and code it is only possible to add extensions to a X509_REQ structure and not a X509 structure. Should this be the case, how do I convert from the X509_REQ to the X509 or alternatively how do I add extensions to a X509

PEM/ASN Questions

2001-11-28 Thread Hylton Tregenza
Hi. I'm getting myself confused with the different formats. I see the PEM functions are defined as PEM_ANS. Is PEM the equivalent of ANS or can ASN be represented in PEM format. The route of my problem is such. I am going to be getting a public key on a socket from a MS machine

Output a file as a PKCS#7

2001-11-26 Thread Hylton Tregenza
Hi. I'm generating a certificate with in my code. I have a x509 structure that is populated and signed. If I call X50_print, a file is generated that contains the certificate but the file does not contain the BEGIN and END CERTIFICATE header and footer. Below is a sample of the file

RE: Output a file as a PKCS#7

2001-11-26 Thread Hylton Tregenza
Thank you. So simple, so powerfull. Hylton -Original Message- From: Dale Peakall [mailto:[EMAIL PROTECTED]] Sent: 26 November 2001 02:25 To: [EMAIL PROTECTED] Subject: RE: Output a file as a PKCS#7 PEM_write_X509 __

RE: more inetd trouble

2001-11-21 Thread Hylton Tregenza
Hi I have come into this thread a bit late. Having just completed Inetd.d /openssl I might be able to help butI do not have the original question. Inetd uses stdin and stdout (0,1). I have noted that any debugging indormation (printf etc) sent to these ports intereferes with the comminication.

Adding a name to the certificate

2001-11-21 Thread Hylton Tregenza
Hi I'm looking for what the parameters for X509_NAME_ENTRY_create_by_NID mean. I can see what they are in the source code but is there a site where the function(s) for creating a certificate is explained. After a search on X509_NAME_ENTRY_create_by_NID using google, no reference to the

RE: PEM_read_RSAPublicKey

2001-11-16 Thread Hylton Tregenza
Sorry,I asked to early, There is nothing wrong with the code. The file is not a public key file (or the format isd wrong) How do I extract a public key file from a certificate? Hylton -Original Message-From: Hylton Tregenza Sent: 16 November 2001 12:24To: [EMAIL PROTECTED

RE: Pem_read_bio -.... expecting certificate.

2001-10-18 Thread Hylton Tregenza
format by default or do I need to tell it somewhere. any idea what I could be overlooking. any other information I should be giving? Hylton -Original Message- From: Hylton Tregenza Sent: 17 October 2001 04:32 To: [EMAIL PROTECTED] Subject: Pem_read_bio - expecting certificate. Hi all I

Pem_read_bio -.... expecting certificate.

2001-10-17 Thread Hylton Tregenza
Hi all I have looked in the archives but not found an examale or assistance there. I am having difficulty with a CA certificate (created with ./CA -newca) I am getting the following error 1895:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:662:Expecting: CERTIFICATE. The

RE: PEM_read_bio

2001-10-17 Thread Hylton Tregenza
Title: Message I am having the same problem. If I find anything I will let you know -Original Message-From: Andrew Finnell [mailto:[EMAIL PROTECTED]]Sent: 17 October 2001 04:11To: 'Openssl ([EMAIL PROTECTED])'Subject: PEM_read_bio I am getting an error message ,

SSL_accept

2001-10-10 Thread Hylton Tregenza
Hi, I am calling ssl_accept but it is not blocking. This is very new to me but as the design goes, I need the socket to block on accept. The application currently works without SSL. I am trying to add SSL to the routines allowing the user to determine if they want a secure connection to not.

SSL_accept

2001-10-10 Thread Hylton Tregenza
Hi, I am calling ssl_accept but it is not blocking. This is very new to me but as the design goes, I need the socket to block on accept. The application currently works without SSL. I am trying to add SSL to the routines allowing the user to determine if they want a secure connection to not.