RE: What is the maximum data size for encrypting with rsautl command?

2011-06-27 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Michael S. Zick > Sent: Monday, 27 June, 2011 13:07 > On Mon June 27 2011, Vladimir Belov wrote: > > I understand that slow RSA algorithm is not used to encrypt > large amounts of > > data, instead of it symmetric algorithms are used. > > > >

RE: Question regarding to memory leak

2011-06-27 Thread Yan, Bob
Thanks all of you for providing the inputs, and with your help, I think I found out the problem. In my test program I am calling the function "X509_STORE_get_by_subject(ctx, X509_LU_CRL, issuer, &obj)" to get the CRL list. But after this function call, I didn't use the "X509_OBJECT_free_content

Re: What is the maximum data size for encrypting with rsautl command?

2011-06-27 Thread Michael S. Zick
On Mon June 27 2011, Vladimir Belov wrote: > Thanks for answer, Chris. > > I understand that slow RSA algorithm is not used to encrypt large amounts of > data, instead of it symmetric algorithms are used. > > But is it the limit of RSA-algorithm or only OpenSSL library's limit? > The size of th

Re: What is the maximum data size for encrypting with rsautl command?

2011-06-27 Thread Vladimir Belov
Thanks for answer, Chris. I understand that slow RSA algorithm is not used to encrypt large amounts of data, instead of it symmetric algorithms are used. But is it the limit of RSA-algorithm or only OpenSSL library's limit? --

Re: What is the maximum data size for encrypting with rsautl command?

2011-06-27 Thread Chris Dodd
Roughly keysize - paddingsize is the limit. keysize in your case is 512 bytes and padding size for OAEP padding (the common standard) is ~41, so the limit is about 471 bytes. Usually when encrypting a file, you use a symmetric cipher with a randomly chosen key, and then encrypt the key with R

What is the maximum data size for encrypting with rsautl command?

2011-06-27 Thread ml.vladimbelov
Hello. I tried to encrypt a file(1Mb), with RSA private key of 4096-bit length with command: openssl rsautl -encrypt -pubin -inkey rsapublickey.pem -in 2.txt -out 2.srsa I get next error: Loading 'screen' into random state - done RSA operation error 5616:error:0406D06E:rsa routines:RSA_paddin

Re: [openssl-users] OCSP request / response over HTTP-GET

2011-06-27 Thread Erwann ABALEA
Hodie V Kal. Iul. MMXI, Sugimoto, Koichi - GlobalSign K.K. scripsit: > It seems that OpenSSL does not compliant to RFC 5019. > Are there anyone prepareing to develop HTTP-GET based OCSP command? > As for server, malformedRequest (1) is returned if received HTTP-GET based > ocsp request. RFC5019 is

OCSP request / response over HTTP-GET

2011-06-27 Thread Sugimoto, Koichi - GlobalSign K.K.
Hello Sirs, It seems that OpenSSL does not compliant to RFC 5019. Are there anyone prepareing to develop HTTP-GET based OCSP command? As for server, malformedRequest (1) is returned if received HTTP-GET based ocsp request. Regards, Koichi Sugimoto. _