Re: SHA1,MD5 calculation in case of where it left off

2012-01-26 Thread Prabu RM
Hi Jakob, Thanks for your reply and we will try as you say. Is there any other way to store the CTX at block level in RDBMS like MySQL? Say if the transfer is interrupted at 500 MB and i know at which block the transfer has been interrupted. In same scenario if i know the CTX of already sent block

RE: Starting SSL handshaking after connect/accept

2012-01-26 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Neale Ferguson > Sent: Tuesday, 24 January, 2012 12:44 > There¹s a system I'm attempting to interface to that uses SSL, via the > gsToolkit I believe, to protect its transmissions. However, > it doesn't begin > the protection until it exchanges

RE: Separating the digest and signature steps of RSA signing

2012-01-26 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Peter Eckersley > Sent: Thursday, 26 January, 2012 16:39 > To: openssl-users@openssl.org > Subject: Separating the digest and signature steps of RSA signing > > Hi all, > > I have an offline system that needs to compute RSA signatures over > la

Re: Capturing Enter PEM pass phrase prompt

2012-01-26 Thread Matt Caswell (fr...@baggins.org)
I think that the stream that it writes to is platform specific. The default implementation for ui_write_string is in ui_openssl.c: static int write_string(UI *ui, UI_STRING *uis) { switch (UI_get_string_type(uis)) { case UIT_ERROR: case UIT_INFO: fputs(UI_get0_out

Capturing Enter PEM pass phrase prompt

2012-01-26 Thread Robert O'Hearne
I am using a Java program to call a Perl script which calls curl to upload a file to a FTPS server. The FTPS server has a certificate which requires a pass phrase. My Java program reads from standard error looking for the "Enter PEM pass phrase:" prompt so I can then write the pass phrase to

Can EVP_cleanup() corrupt memory?

2012-01-26 Thread Erwin Himawan
Hi All, I have a function which add a list of EVP_digest that I want to look up to. Later on, I would like to free these digest from this look up table. Below is a snipet of the function that add these digest into the openssl's lookup table: /* Add EVP_MD digest into a lookup table */ i

Separating the digest and signature steps of RSA signing

2012-01-26 Thread Peter Eckersley
Hi all, I have an offline system that needs to compute RSA signatures over large blobs of data, given only hashes of the data as input and not the entire blobs (something like the NONEwithRSA algorithm in Java's RSA implementation http://www.docjar.com/docs/api/sun/security/mscapi/RSASignature.htm

Re: Bug in s_client when talking POP3 protocol?

2012-01-26 Thread Johann Myrkraverk Oskarsson
Hi, On Thu, Jan 26, 2012, at 02:14 PM, Johann Myrkraverk Oskarsson wrote: > When I use openssl s_client to talk to pop servers, I get > > RENEGOTIATING > 27229:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake > failure:s3_pkt.c:539: > > when I use the RETR command. I found out this i

Bug in s_client when talking POP3 protocol?

2012-01-26 Thread Johann Myrkraverk Oskarsson
Hi all, When I use openssl s_client to talk to pop servers, I get RENEGOTIATING 27229:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:539: when I use the RETR command. This is not a problem if I use TOP to show the entire message. It happens both when I talk to po

Re: SHA1,MD5 calculation in case of where it left off

2012-01-26 Thread Jakob Bohm
On 1/26/2012 7:25 AM, Prabu RM wrote: Hi, We have been used to CRC via MD5 hash algorithm for a file to be transferred in socket we kepp below steps. _*At Client side:*_ 1.Md5 Init() 2.MD5 Update MD5 Update MD5 Update MD5 Update . . . 3.MD5 Final 4.Get Checksum *C1* _*At

EKU handling question

2012-01-26 Thread Ryan Hurst
Hello - It has been some time since I visited these forums, I have searched for my answer in the forums but did not find an answer; I have not yet looked at the source to confirm behavior it is my hope that someone can easily answer a question relating to how an application based on OpenSSL would