Resumed session then full SSL sessions

2004-07-27 Thread Mohamad Badra
Dear all, I am currently developping a program that will works as following: 1) I get as hypothesis that the client and the server share a pre-established SSL session) reuse the shared session to perform an abbreviated (resumed) handshake by sending the session_id to the server. 2) use the

Re: about the sequence number field

2004-01-03 Thread Mohamad Badra
What about the 32 octets in the finished message(CipherText)? How can we have it? Thank you Jostein Tveit wrote: Mohamad Badra [EMAIL PROTECTED] writes: I have 2 questions about this sequence number in TLS: 1)What is the value of finished's sequence number? It is zero

Re: about the sequence number field

2003-12-19 Thread Mohamad Badra
Dear, I have 2 questions about this sequence number in TLS: 1)What is the value of finished's sequence number? It is zero? 2) Is there any command line with OpenSSLto have the MAC? Thank you, -Bdr Swaminathan P wrote: Those were great replies. Thanks Lev and Geoff. Guess I'll have to put

decrypt base65 file with openssl

2003-12-15 Thread Mohamad Badra
Dear, I have a trace of SSL client/server session and the server's RSA private key. During the SSL session, the client encrypts a 48 bytes premastersecret with the server public key. I have the encrypted premastersecret coding in Base64. Must i translate it to any specific format before

Re: decrypt base65 file with openssl

2003-12-15 Thread Mohamad Badra
it is the pkcs1 format but i don't know how I can have it) of the encrypted file to decrypt it using RSA key. To summarize, I have an encrypted file in hexadecimal format, and I have to decrypt it using RSA algorithm. Thank you in advance. -Bdr Dr. Stephen Henson wrote: On Mon, Dec 15, 2003, Mohamad Badra

Re: decrypt base65 file with openssl

2003-12-15 Thread Mohamad Badra
Excuse me for this mistake, it is in hexadecimal. Let me try with xxd command Thank you -Bdr Dr. Stephen Henson wrote: On Mon, Dec 15, 2003, Mohamad Badra wrote: Hello again, In fact, I tried the base64 command (base64 -e input file) on the hexadecimal file. a)Firstly

Re: decrypt base65 file with openssl

2003-12-15 Thread Mohamad Badra
Excuse me but you didn't answer me about the format that the OpenSSL accepts it to decrypt with RSA? Thank you -Bdr Dr. Stephen Henson wrote: On Mon, Dec 15, 2003, Mohamad Badra wrote: Hello again, In fact, I tried the base64 command (base64 -e input file) on the hexadecimal

Re: decrypt base65 file with openssl

2003-12-15 Thread Mohamad Badra
Dear, The input must be binary. But did 'rsautl' will accept any file more 128 bytes (when use RSA-1024 bits) since the file length will overtake 1024 bits. I think that it is possible only for file less that 1024 bits. (i.e. y file has 256 bytes in hexadecimal format). Several