stunnel 4.41 released

2011-07-26 Thread Michal Trojnara
Dear Users, I have released version 4.41 of stunnel. This is a bugfix release. I highly recommend Windows users to upgrade. The ChangeLog entry: Version 4.41, 2011.07.25, urgency: MEDIUM: * Bugfixes - Fixed Windows service crash of stunnel 4.40. Home page: http://www.stunnel.org/

Code pattern for EC_KEY read and write

2011-07-26 Thread Kenneth Goldman
I can create and use an EC_KEY, but I need utilities to write and read it to a file. 1 - I assume I should use PEM format, like I do for RSA. Correct? 2 - Can someone post the call sequence? There's nothing in the html doc yet. I see some clues in the openssl source, but I'd prefer not to

[FWD] Request for help in building the open ssl for embedded environment

2011-07-26 Thread Lutz Jaenicke
Forwarded to openssl-users for public discussion. Best regards, Lutz -- Lutz Jaenicke jaeni...@openssl.org OpenSSL Project http://www.openssl.org/~jaenicke/ ---BeginMessage--- Hi, We are trying to build the open ssl for the embedded environment on power pc processor.

Re: Code pattern for EC_KEY read and write

2011-07-26 Thread Dr. Stephen Henson
On Mon, Jul 25, 2011, Kenneth Goldman wrote: I can create and use an EC_KEY, but I need utilities to write and read it to a file. 1 - I assume I should use PEM format, like I do for RSA. Correct? 2 - Can someone post the call sequence? There's nothing in the html doc yet. I see some

SSL_UNDEFINED_FUNCTION error with self-made BIO

2011-07-26 Thread Brice André
Hello everyone, I am new to openssl and I am currently trying to write a small wrapper for this library that will allow it to be used with wxWidgets. wxWidgets is a cross-platform GUI library that offers network facilities. My goal is to enrich the wxSocketClient implementation with ssl

Simple question: Maximum length of PEM file?

2011-07-26 Thread Katif
Hi, I need to know in advance the maximum length of the following three PEM formatted files (excluding the -BEGIN/END lines): Private key file, Certificate file, CA certificate file. For example - the following file has 68 characters length: -BEGIN CERTIFICATE-

Re: Simple question: Maximum length of PEM file?

2011-07-26 Thread Kenneth Goldman
Is that possible in general? There's no maximum key size or signature size, and certificates can have extensions. I typically read the file size first, then allocate memory, then read the file. In general, hard coding a maximum length is used to enable a buffer overflow attack. :-)

Re: Simple question: Maximum length of PEM file?

2011-07-26 Thread David Schwartz
On 7/26/2011 4:38 AM, Katif wrote: I need to know in advance the maximum length of the following three PEM formatted files (excluding the -BEGIN/END lines): It's application-dependent. There is no answer in general. DS