Re: change/convert 512 bit long modulus to 2048 on private key?

2006-05-19 Thread Alicia da Conceicao
> > Can this be done with out having to make a new private > > key? Or am I just barking up the wrong tree? > Absolutely not. > It's like saying, can I make a two-digit number into a three-digit number. > (You could add leading zero's, but that misses the whole point.) Not quite. For RSA, the h

Re: Support for IBM 4764 HSM

2006-05-19 Thread Harakiri
--- "Steven A. Bade" <[EMAIL PROTECTED]> wrote: > >the IBM 4758 card. > The engine code you refer to was not done by IBM as > far as I know, I > believe it was done at a university. Yes i know, therefor i ask if anyone already has done something similar. Or even if someone in-the-known can tell

Re: Junk code after enc/dec by OpenSSL

2006-05-19 Thread Marek Marcola
Hello, > Dear OpenSSL community fellows. I'm a new OpenSSL user. I have met my first > headache recently. I have a plain text file to encrypt and pass to my > friend. Afterwards, he decrypts the file. Everything is fine except for a > small piece of junk code attached at the end of the original

Junk code after enc/dec by OpenSSL

2006-05-19 Thread Xu Gang
Dear OpenSSL community fellows. I'm a new OpenSSL user. I have met my first headache recently. I have a plain text file to encrypt and pass to my friend. Afterwards, he decrypts the file. Everything is fine except for a small piece of junk code attached at the end of the original txt file. It's

Re: change/convert 512 bit long modulus to 2048 on private key?

2006-05-19 Thread Richard Salz
> Can this be done with out having to make a new private > key? Or am I just barking up the wrong tree? Absolutely not. It's like saying, can I make a two-digit number into a three-digit number. (You could add leading zero's, but that misses the whole point.) /r$ -- SOA Appliances App

change/convert 512 bit long modulus to 2048 on private key?

2006-05-19 Thread ray v
Can this be done with out having to make a new private key? Or am I just barking up the wrong tree? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Support for IBM 4764 HSM

2006-05-19 Thread Steven A. Bade
Harakiri wrote: Hello list, i know that openssl ships with the ENGINE source for the IBM 4758 card. The engine code you refer to was not done by IBM as far as I know, I believe it was done at a university. Is anyone aware of an implementation for the IBM 4764 card ? I contacted IBM cry

Support for IBM 4764 HSM

2006-05-19 Thread Harakiri
Hello list, i know that openssl ships with the ENGINE source for the IBM 4758 card. Is anyone aware of an implementation for the IBM 4764 card ? I contacted IBM crypto support and they said they do not have nor will develope any openssl integration. (which is kinda funny judging by the price of

Re: Extract (RSA) Public Key from an x509 certificat

2006-05-19 Thread Sarnov (sent by Nabble.com)
Tks for you help. -- View this message in context: http://www.nabble.com/Extract+%28RSA%29+Public+Key+from+an+x509+certificat-t1649149.html#a4469361 Sent from the OpenSSL - User forum at Nabble.com. __ OpenSSL Project

Re: error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized

2006-05-19 Thread Victor Duchovni
On Fri, May 19, 2006 at 08:42:06PM +0800, Roger Zhang wrote: > Thanks for your help! After I set with SSL_CTX_set_session_id_context, the > problem is gone. But O'Reilly openssl book 5.2.1.2 says session caching is > disabled by default, looks like the author is wrong. > Well, by default there

X509_CRL_free crashes

2006-05-19 Thread Sendil kumar
Hi,   I used PEM_read_bio_X509_CRL ( ) to read a CRL file and stored the content in a (*pCRL)  pointer.I passed this pointer as argument to the X509_CRL_get_REVOKED ( ) which returns a revoked stack .Once I verified my certificate with the stack , I deleted the stack , and when the control comes ou

Re: SSL_connect ( ) hangs

2006-05-19 Thread Sendil kumar
Hi victor,   your message helped me to convience people here , that this is the general socket behaviour and by SSL and my programme. Now I trying with some timeout options.   Thanks, N.Sendil Kumar - Original Message From: Victor Duchovni <[EMAIL PROTECTED]>To: openssl-users@openssl.orgSe

Re: error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized

2006-05-19 Thread Roger Zhang
Thanks for your help! After I set with SSL_CTX_set_session_id_context, the problem is gone. But O'Reilly openssl book 5.2.1.2 says session caching is disabled by default, looks like the author is wrong. Roger - Original Message - From: "Dr. Stephen Henson" <[EMAIL PROTECTED]> To: Se

Re: error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized

2006-05-19 Thread Dr. Stephen Henson
On Fri, May 19, 2006, Zhang, Long (Roger) wrote: > Hi, > > I developed with openssl0.9.8a on Solaris 8. When I run my test, found a > problem of "SSL_GET_PREV_SESSION:session id context uninitialized". > > I created a TLS server, a TLS client. The TLS client could connect TLS > server successful

Patrick Hsu/DTIS/SFGOV is out of the office.

2006-05-19 Thread Patrick Hsu
I will be out of the office starting 05/19/2006 and will not return until 05/22/2006. I will respond to your message when I return. __ OpenSSL Project http://www.openssl.org User Support Mailing

Re: error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized

2006-05-19 Thread Marek Marcola
Hello, > I developed with openssl0.9.8a on Solaris 8. When I run my test, found a > problem of "SSL_GET_PREV_SESSION:session id context uninitialized". > > I created a TLS server, a TLS client. The TLS client could connect TLS server > successfully first time. Then I close TLS client and reopen

error:140D9115:SSL routines:SSL_GET_PREV_SESSION:session id context uninitialized

2006-05-19 Thread Zhang, Long \(Roger\)
Hi, I developed with openssl0.9.8a on Solaris 8. When I run my test, found a problem of "SSL_GET_PREV_SESSION:session id context uninitialized". I created a TLS server, a TLS client. The TLS client could connect TLS server successfully first time. Then I close TLS client and reopen it soon. Fou

Re: Extract (RSA) Public Key from an x509 certificat

2006-05-19 Thread Marek Marcola
Hello, > I'm looking for a way to extract a RSA public key form an x509 certifcat. > > Ps: I'm programming with C. X509_get_pubkey() Best regards, -- Marek Marcola <[EMAIL PROTECTED]> __ OpenSSL Project

Extract (RSA) Public Key from an x509 certificat

2006-05-19 Thread Sarnov (sent by Nabble.com)
Hi, I'm looking for a way to extract a RSA public key form an x509 certifcat. Ps: I'm programming with C. Tks -- View this message in context: http://www.nabble.com/Extract+%28RSA%29+Public+Key+from+an+x509+certificat-t1649149.html#a4466507 Sent from the OpenSSL - User forum at Nabble.com. __