Net::SSLeay nonblocking sockets and timeouts

2003-11-18 Thread Stella Power
Hi, I'm using the Net::SSLeay perl module to connect to a site over HTTPS and which also implements certificates. I was originally using 'post_https()' and got that to work - though I did have to fix it's prototype in SSLeay.pm. However, as far as I can gather this doesn't use nonblocking socket

Re: client certificates and Net::SSLeay

2003-11-12 Thread Stella Power
ok never mind, got it working. My server certificate had expired. Thanks for all your help. Stella On Wed, Nov 12, 2003 at 01:23:15PM +, Stella Power wrote: > ok I think I figured out one problem - the client side was using a cert > signed with a password protected key, which my scri

Re: client certificates and Net::SSLeay

2003-11-12 Thread Stella Power
mmand by the way, it's quite useful! Thanks, Stella On Wed, Nov 12, 2003 at 12:51:58PM +0100, Lutz Jaenicke wrote: > On Wed, Nov 12, 2003 at 10:53:58AM +, Stella Power wrote: > > I was wondering if anyone on this list could help me. I'm trying to use the > > post_htt

3DES ECB

2002-06-04 Thread Stella Power
Hi, I was wondering if someone could clarify this for me. I'm trying to decrypt a string which has been encrypted in 3DES ECB mode. I'm using the command line utility and a program I have written to do this. According to the EVP_EncryptInit.html, I should use the cipher EVP_des_ede3(). However

Re: EVP_CipherFinal()

2002-05-28 Thread Stella Power
okidokey, the code is attached. The encryption/decryption function is in do_crypt.c thanks Stella On Mon, May 27, 2002 at 06:03:46PM +0200, Aleix Conchillo wrote: > hi stella, > > could you please post your sample code? > > best regards, > > aleix > >

SHA1

2002-05-24 Thread Stella Power
Hi, I'm having problems with SHA1() and I'm hoping some of you might be able to help me out. I want to calculate the sha1 checksum of a file which i have mapped into memory (char *mapped_encrypted_file;). I use strlen on that to get its length (unsigned long maplength;). I also malloc space fo

Re: 3DES decrytpion

2002-05-01 Thread Stella Power
0, Aleksey Sanin wrote: > 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: > &

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 = parse_file(&mapped_file)