Signing an arbitrary buffer with an arbitrary RSA key: how to?

2006-08-08 Thread генерал Пурпоз
Hello openssl-users, I need to re-invent the Sipura's|Linksys's "gen_mc" utility which creates what they call a "Mini Certificate". I've stuck at an attempt to use "RSA_sign()" properly. Is it at all possible to have an RSA object not generated with "RSA_generate_key()" but manually fil

Re: Putting just SSL_read() and SSL_write() inside the non-blocking regions

2006-08-08 Thread Joe Flowers
David, If I can get 999% guarantee, I'd be happy. Not looking for the impossible 100%. In any case, yes, you've pegged the heart of my real question. And, your answer is not the one I was hoping for but it has the authoritative flavor that I ultimately really wanted, regardless of the answer

RE: Putting just SSL_read() and SSL_write() inside the non-blocking regions

2006-08-08 Thread David Schwartz
> David Schwartz wrote: > > I have never done anything like this, however. > > > > DS > > > H. Then, I'm curious to know at what point (between what socket > functions) you put your socket in the non-blocking state and when/if you > ever set it back to blocking? > > Joe I

Re: ECerr function is disabled at compile-time

2006-08-08 Thread Marek Marcola
Hello, > I tried to create a private key using elliptic curves > > openssl ecparam -out key.pem -name sect113r1 -genkey > > While trying this to compress the converting point I stucked up with an > error msg > > openssl ec -in key.pem -conv_form compressed -out keyout.pem > > read EC key > writ

Re: Generation of Public Key using exponent and modulus

2006-08-08 Thread Marek Marcola
Hello, > I just want to find out if there is a function in openssl c++ > libraries that can be used to create a public key object from a > modulus and public exponent. I looked but couldn't find one. This depends of the modulus and exponent form. If you have this numbers as binary stream of defined

Re: Putting just SSL_read() and SSL_write() inside the non-blocking regions

2006-08-08 Thread Joe Flowers
David Schwartz wrote: I have never done anything like this, however. DS H. Then, I'm curious to know at what point (between what socket functions) you put your socket in the non-blocking state and when/if you ever set it back to blocking? Joe ___

Re: Putting just SSL_read() and SSL_write() inside the non-blocking regions

2006-08-08 Thread Joe Flowers
I am not 100% sure I understand your question. It is necessary that I make a very simple HTTPS "browser" in one thread and a very simple HTTPS "server" in another thread. I'd like to make the HTTPS "browser" thread impervious (not get hung in a blocking state) to web servers that are rebooted

ECerr function is disabled at compile-time

2006-08-08 Thread Haridharan
Hi, I tried to create a private key using elliptic curves openssl ecparam -out key.pem -name sect113r1 -genkey While trying this to compress the converting point I stucked up with an error msg openssl ec -in key.pem -conv_form compressed -out keyout.pem read EC key writing EC key unable to wr

query on SSL_CTX_set_verify();

2006-08-08 Thread Prabhu.S
Hello,   I have  client application program in which I call the method "SSL_CTX_set_verify" as SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, NULL). Whenever the incoming server certificate is invalid the the application immediately aborts. How do I overcome this..I need to abort grace fully cal