CRASHING while executing PEM_write_RSAPrivateKey function

2009-02-10 Thread ajax_vinod
I have been using PEM_write_RSAPrivateKey function to get private key and writing into a file, but it is crashing. my code is like this: RSA *key_info_struct = NULL; FILE *key_file_ptr = NULL; unsigned short rsa_keylen = 1025; int error_code = 0; char *error_string = NULL;

Open SSL in RedHat and Suse

2009-02-10 Thread Mathews RK
Hi All, I have compiled OpenSSL in shared mode in RHEL (RedHat Linux) 3.0 using gcc 3.4 compiler. I made one installation in RHEL 3.0. It works fine. But if I install this in Suse, it fails to start/ stop apache. If I replace the openssl library with the one compiled in Suse, it works fine.

RSA Decryption Error

2009-02-10 Thread James Richardson
Hi, I'm trying to use the openssl toolkit to decrypt a message that was encryted using an RSA public key. I have the RSA private key and thus has generated to the public key. so I have both. The string with the encrytped message is held in a file called q2.enc:

Re: Open SSL in RedHat and Suse

2009-02-10 Thread Patrick Patterson
Hi there: On February 10, 2009 08:36:36 am Mathews RK wrote: Hi All, I have compiled OpenSSL in shared mode in RHEL (RedHat Linux) 3.0 using gcc 3.4 compiler. I made one installation in RHEL 3.0. It works fine. But if I install this in Suse, it fails to start/ stop apache. If I replace

Bad Decrypt message when using -pass pass:

2009-02-10 Thread Nickfx
Hi, first post here and I wonder if anyone with a larger brain than me can help? I'm in Windows XP Pro and using DD to image a disk and then pipe to openssl to encrypt. I'm using the -pass pass:'anotherpassword' switch to make decryption by the user as easy as possible. It looks like this:-

Re: DTLS server implementation experiences and documentation

2009-02-10 Thread Wes Hardaker
On Mon, 26 Jan 2009 18:19:02 +0100, Daniel Mentz danie...@sent.com said: DM I have some comments regarding your wiki article. But first of all DM thanks for taking the time writing down all this information: Your welcome, and I'm sorry for taking so long to reply to your note... I was both sick

Re: DTLS server implementation experiences and documentation

2009-02-10 Thread Wes Hardaker
On Thu, 22 Jan 2009 06:10:36 +0100, Robin Seggelmann seggelm...@fh-muenster.de said: RS To avoid getting into trouble with already fixed bugs you should apply RS the patches I sent to the dev list. I'll set up a website with a patch RS collection and some instructions soon. You've certainly

Re: documentation/description of RSA PEM file format used by OpenSSL

2009-02-10 Thread Tomasz Kaźmierczak
I've managed to base64 decode a public key (at least I think so;). Now I'm trying to understand how to interpret the key data. I've found the definitions of RSAPublicKey and RSAPrivateKey structures (in the PKCS #1: RSA Cryptography Standard), but there is no information about what are the

Re: documentation/description of RSA PEM file format used by OpenSSL

2009-02-10 Thread Michael Sierchio
Tomasz Kaźmierczak wrote: I've managed to base64 decode a public key (at least I think so;). Now I'm trying to understand how to interpret the key data. I've found the definitions of RSAPublicKey and RSAPrivateKey structures (in the PKCS #1: RSA Cryptography Standard), but there is no

Re: documentation/description of RSA PEM file format used by OpenSSL

2009-02-10 Thread Kyle Hamilton
For information on how they're encoded, please see ITU recommendation X.690 (DER). The full documentation on ASN.1 (the notation language) can be found in ITU recommendation X.680; you can also see http://www.oss.com/asn1/dubuisson.html (for a complete overview) and

sk_SSL_COMP_find() in SSL_COMP_add_compression_method()?

2009-02-10 Thread Victor Duchovni
ssl/ssl_ciph.c: int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm) { ... if (ssl_comp_methods !sk_SSL_COMP_find(ssl_comp_methods,comp)) { OPENSSL_free(comp); MemCheck_on();