about function SSL_CTX_use_PrivateKey_file(...)!

2002-05-01 Thread
hello I meet a problem when I develop program with openssl. I was doing server program, and when I come to the function SSL_CTX_use_PrivateKey_file(...),the program consumed 100% cpu ,and this state remains for almost 7 minutes and seems to be no end. I just closed it! I

3DES decrytpion

2002-05-01 Thread Stella Power
hi, I'm trying to use the crypto library to decrypt a file which has been encrypted using triple-DES. I have the following declarations: char *temp; char **elines; des_cblock *input; I have a function which parses the file and grabs the encrypted strings temp =

RE: OpenSSL on BeOS^H^H^H^Hnon-Windows non-Linux OSes

2002-05-01 Thread Zero One
--- GOLDING,CHARLTON (Non-HP-Corvallis,ex1) [EMAIL PROTECTED] wrote: Hi, yeah true, having been burned by Be when working on their OS I wish the OS would go away, but not really. I'm glad to hear it might have been purchased by 3Com (is that true?) Somewhat; Be's assets (most of the

Re: 3DES decrytpion

2002-05-01 Thread Aleksey Sanin
Do you have any reason to do not use EVP_Cipher*() functions instead of low-level des_ecb3_encrypt()? EVP functions provide very good abstraction layer and hide many algorithm specific details. Aleksey Sanin. Stella Power wrote: hi, I'm trying to use the crypto library to decrypt a file which

Re: 3DES decrytpion

2002-05-01 Thread Stella Power
I'm afraid that I couldn't find any examples on how to use the EVP functions, and still do not know how I would go about implementing it. The only restriction I have on my code is that the encrypted input file is 3DES ECB encrypted. Stella On Wed, May 01, 2002 at 09:03:42AM -0700, Aleksey

Stuck with base64 bio

2002-05-01 Thread jjarvie
I'm really stuck trying to base64 decode a string with bios. Any help on what I''m doing wrong or how to work out what the problem is would be very much appreciated. My code is: int i = 0, j = 0; BIO *bio, *b64; b64 = BIO_new(BIO_f_base64()); bio = BIO_new(BIO_s_mem());

Re: accept of SSLeay hangs up.

2002-05-01 Thread Keary Suska
on 4/30/02 10:33 PM, [EMAIL PROTECTED] purportedly said: Hi, if anybody know this problem, please give me some advice. I made a simple web server with SSLeay in perl, but sometime it hangs up. It hangs up in accept(). accept() calls read() system call and the read() system call is always

Re: 3DES decrytpion

2002-05-01 Thread Aleksey Sanin
Well, using EVP functions is not too difficult (http://www.openssl.org/docs/crypto/EVP_EncryptInit.html#): 1) init context EVP_CIPHER_CTX ctx; EVP_CIPHER_CTX_init(ctx); 2) init cipher EVP_CipherInit(ctx, EVP_des_ede3_cbc(), key, iv, encrypt); 3)

Problem linking on Linux

2002-05-01 Thread Tim McClure
I have been running for months on AIX with OpenSSl. I am porting my software to Linux and I am having trouble linking my application. I have included the make report results as well as my link errors. I suspect I am missing a link option. Any help would be greatly appreciated. OpenSSL

Error when using Netscape to access a https site

2002-05-01 Thread Brandon Amundson
I am trying to access a secure site from my machine with Netscape 4* thru 6.2 and IE. When access the site with IE I get to it fine. When using Netscape, I get the following error. The certificate is not approved for the following application. I do not get an error that says I do not have a

Re: accept of SSLeay hangs up.

2002-05-01 Thread Atsushi Ikeda
Thank you for giving me advice. I will check timing out slow operations out. Thank you, Atsushi hierophant You may want to review the section on timing out slow operations as well hierophant as blocking/non-blocking I/O in the Programming Perl book. IIRC, this hierophant behavior with

Re: Creating password-protected certs.

2002-05-01 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Tue, 30 Apr 2002 06:30:34 -0700 (PDT), Tim Jones [EMAIL PROTECTED] said: t0psecret Thanks for the help... I'm pretty new at this stuff. t0psecret So, the private key is protected with the export t0psecret password, but this is a one-time password that is only