RSA_verify problem

2007-11-21 Thread Chris Brown
Hi all, I have a .Net webservice sending a Digital Signature within the soap response which I am attempting to verify using the Crypto library 'RSA_verify' function on an embedded MontaVista system. I am assuming that this is possible to do. I have extracted the 'SignedInfo' element from the xm

RE: Reposting: EVP_DecryptFinal_ex:bad decrypt

2007-11-21 Thread Pankaj Mathur
After doing this I could encrypt / decrypt upto 7 KB only. The code fails after 7 KB. Please help. thanks From: [EMAIL PROTECTED] To: openssl-users@openssl.org Subject: RE: Reposting: EVP_DecryptFinal_ex:bad decrypt Date: Wed, 21 Nov 2007 01:32:12 + Thanks for the response Dr. Hens

Re: What Padding does OpenSSL use??

2007-11-21 Thread Dr. Stephen Henson
On Wed, Nov 21, 2007, Lidia Fernndez wrote: > I have to encrypt a file in c with openssl and then i have to decrypt in > Java. > > In Java i use to decrypt the algorithm > > Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding"); > > With OpenSSL i use > > openssl enc -a -des-ecb -in file -

Re: openssl s_client options

2007-11-21 Thread Marek Marcola
Hello, > I try to connect an openssl client to a ssl server. > I use the tool openssl s_client. > > I use the -msg option in order to qsee the different messages exchanged during > the SSL connexion. > > My purpose is to generate an SSL alert message by the client. > Hence I use a trustees file i

openssl s_client options

2007-11-21 Thread jfhuynh
Hello all, I try to connect an openssl client to a ssl server. I use the tool openssl s_client. I use the -msg option in order to qsee the different messages exchanged during the SSL connexion. My purpose is to generate an SSL alert message by the client. Hence I use a trustees file in client

Re: symmetric key generation..

2007-11-21 Thread Jean Rebiffe
Hi, You can use random bytes as symmetric key. See RAND_bytes() function to get random bytes from your selected random number generator (by default it's the OpenSSL integrated PRNG). Set the key (and the IV) in any symmetric algorithm by using EVP_EncryptInit_ex() function if you use EVPs. You ca

RE: OpenSSL on AIX 5.3

2007-11-21 Thread Marek Marcola
Hello, > Here is the response. > > # ./openssl s_client -connect localhost:443 -debug > > CONNECTED(0003) > > write to 0x2005ec88 [0x2005ecf8] (124 bytes => 124 (0x7C)) > > - 80 7a 01 03 01 00 51 00-00 00 20 00 00 39 00 00 .zQ... > ..9.. > 0010 - 38 00 00 35 00 00 16 00-00

[FWD] Installation issue

2007-11-21 Thread Lutz Jaenicke
Forwarded to OpenSSL-Users for discussion. Best regards, Lutz - Forwarded message from "Francisco E. Salinas" <[EMAIL PROTECTED]> - From: "Francisco E. Salinas" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Installation issue Date: Tue, 20 Nov 2007 11:29:52 -0400 Organization

RE: OpenSSL on AIX 5.3

2007-11-21 Thread Greg Varnell
Here is the response. # ./openssl s_client -connect localhost:443 -debug CONNECTED(0003) write to 0x2005ec88 [0x2005ecf8] (124 bytes => 124 (0x7C)) - 80 7a 01 03 01 00 51 00-00 00 20 00 00 39 00 00 .zQ... ..9.. 0010 - 38 00 00 35 00 00 16 00-00 13 00 00 0a 07 00 c0 8..5...

Re: What Padding does OpenSSL use??

2007-11-21 Thread Peter Byldner
you can use option -nopad, if your blocking allows it. At least I circumvent the same problem in the opposite direction , when encrypting on a mainframe system and decrypting with OpenSSL Kind regards/ Mit freundlichen Grüssen /Salutacions cordials /Cordiali saluti/Cumprimentos/S pozdravem Pete

Trusted CA Cert

2007-11-21 Thread David Quinn
Hello, My apologies for what might seem a ridiculous question for a simple task. I have a server(A) that posts XML data to a URL on server(B) via HTTPS. Now server(B) have updated their SSL cert and have sent me over two files both have .cer extensions on them and was told to upload this to your

Same Problem as Ticket #892 - Just Need a Solution - "Unable to locate archive

2007-11-21 Thread Smith_Randy
Hello, I've googled and have seen that other users on Solaris have had the same problem, but I didn't see the solution. The problem was logged as ticket #892 - Was there a solution to that one? Without much detail my problem was the same as that one. As openssl is being built, upon the link, I ge

Re: symmetric key generation..

2007-11-21 Thread Victor Duchovni
On Wed, Nov 21, 2007 at 04:21:18AM -0800, Ramkumar Ganapathy wrote: > > I am trying to use the OpenSSL crypto C libraries to generate symmetric and > assymetric keys. This is part of development of a key management server. The > library as such do not have any functions for symmetric key generati

Re: What Padding does OpenSSL use??

2007-11-21 Thread Graham Leggett
On Wed, November 21, 2007 2:39 pm, Lidia Fernández wrote: > I have to encrypt a file in c with openssl and then i have to decrypt in > Java. > > In Java i use to decrypt the algorithm > > Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding"); > > With OpenSSL i use > > openssl enc -a -des

What Padding does OpenSSL use??

2007-11-21 Thread Lidia Fernández
I have to encrypt a file in c with openssl and then i have to decrypt in Java. In Java i use to decrypt the algorithm Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding"); With OpenSSL i use openssl enc -a -des-ecb -in file -out file.enc -pass pass:abcdefgh but i have an error me

What Padding does OpenSSL use??

2007-11-21 Thread Lidia Fernández
I have to encrypt a file in c with openssl and then i have to decrypt in Java. In Java i use to decrypt the algorithm Cipher cipher = Cipher.getInstance("DES/ECB/PKCS5Padding"); With OpenSSL i use openssl enc -a -des-ecb -in file -out file.enc -pass pass:abcdefgh but i have an error messag

symmetric key generation..

2007-11-21 Thread Ramkumar Ganapathy
I am trying to use the OpenSSL crypto C libraries to generate symmetric and assymetric keys. This is part of development of a key management server. The library as such do not have any functions for symmetric key generation. That is, all the "generate_key" functions are based out of assymetric cry

Re: Apache 2.0.61 and OpenSSL 9.8g

2007-11-21 Thread David Cooper
I'll take a look at that this morning, thank you. On Nov 20, 2007 10:51 PM, Lasantha Marian <[EMAIL PROTECTED]> wrote: > > David, > > The bug you encountered more looks like the one that I too have experienced > with Apache 2.2.6 (not 2.0.61) + OpenSSL 0.9.8g for which a resolution was > availa

Re: SSL handshake pb

2007-11-21 Thread jfhuynh
Selon Marek Marcola <[EMAIL PROTECTED]>: Thank you very much for the response .. > Hello, > > I try to connect a client to an SSL server in SSL 3.0 mode. > > I do not achieve to have the SSL connexion. > > When I look at the IP streams, I can see the Hello client message and the > > handshake pha