Re: Engine Issue: nShield 500

2008-11-19 Thread Sander Temme
On Nov 19, 2008, at 11:24 PM, Max Pala wrote: The software that I am writing is a multi-threaded OCSP responder. Please make sure you initialize the engine correctly, and set up your locking callbacks before you actually initialize the engine. If you look at Apache: http://svn.apache.

Re: Engine Issue: nShield 500

2008-11-19 Thread Max Pala
Hello Sande, The software that I am writing is a multi-threaded OCSP responder. Sander Temme wrote: What software are you running that makes he calls into OpenSSL? -- Best Regards, Massimiliano Pala --o Massim

Re: Engine Issue: nShield 500

2008-11-19 Thread Sander Temme
On Nov 19, 2008, at 10:36 PM, Max Pala wrote: Anybody has experienced problems with this HSM on Linux + pThread ? What software are you running that makes he calls into OpenSSL? Thanks, S. -- [EMAIL PROTECTED] http://www.temme.net/sander/ PGP FP: 51B4 8727 466A 0BC3 69F4 B7B

Engine Issue: nShield 500

2008-11-19 Thread Max Pala
Hi all, I am running into some problems with the nShield 500 HSM. It seems that their ENGINE implementation is not very stable... If I run the software with more than 12 threads, I get the following error: ../setup.c:517: nfast_hwch_doneconnection: Assertion `hwctx->conndatas[r

Re: Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread Dr. Stephen Henson
On Wed, Nov 19, 2008, Kyle Hamilton wrote: > > Use exactly the same commands you would use on UNIX. OpenSSL does not > interact with the Windows certificate store at all. It does not > interact with CryptoAPI. It just deals with what's in the files that > you hand to it. > Well unless it is

RE: Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread Buicliu, Ion VSA:EX
Thank you Kyle, excellent details. I will inform the client. Ion Buicliu On Wed, Nov 19, 2008 at 1:34 PM, Buicliu, Ion VSA:EX <[EMAIL PROTECTED]> wrote: > If by CLI you mean Command Line Interface, yes, that's what I am using > on UNIX (not a graphical interface). If not, please let me know wh

Re: Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread Kyle Hamilton
On Wed, Nov 19, 2008 at 1:34 PM, Buicliu, Ion VSA:EX <[EMAIL PROTECTED]> wrote: > If by CLI you mean Command Line Interface, yes, that's what I am using on > UNIX (not a graphical interface). If not, please let me know what you mean > by CLI. Yes, command-line interface, invoked by cmd.exe. > > A

RE: Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread Buicliu, Ion VSA:EX
Thank you very much Chris, that's all I needed to know. I will inform the client and let them deal with the rest. Ion Buicliu Hi Ion, On Wed, 19 Nov 2008, Buicliu, Ion VSA:EX wrote: > "Are you using OpenSSL CLI tools on UNIX? > If so do the same on windows; compile OpenSSL and use th

RE: Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread Chris Wilson
Hi Ion, On Wed, 19 Nov 2008, Buicliu, Ion VSA:EX wrote: > "Are you using OpenSSL CLI tools on UNIX? > If so do the same on windows; compile OpenSSL and use the > transferred keys and decrypt the data." > > If by CLI you mean Command Line Interface, yes, that's what I am using > on UNIX

RE: Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread Buicliu, Ion VSA:EX
"Are you using OpenSSL CLI tools on UNIX? If so do the same on windows; compile OpenSSL and use the transferred keys and decrypt the data." If by CLI you mean Command Line Interface, yes, that's what I am using on UNIX (not a graphical interface). If not, please let me know what you mean

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
On Wednesday 19 November 2008 21:23:30 Geoff Thorpe wrote: > Please try for yourself if you're waiting on this. Eg. there are nightly > snapshots downloadable and you can browse the source online > too. "patch --dry-run" should also come in handy. I patched 0.9.8b, compiled and installed; results

Re: Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread jul
On Nov 19, 2008, at 11:35 AM, Buicliu, Ion VSA:EX wrote: Our UNIX-based organization is preparing to send encrypted data to a Windows-based organization. We have openSSL 0.9.8 on UNIX. We create the keys and will send them to the client in one process, then encrypt the data files and send

Openssl encrypt on UNIX, decrypt on Windows

2008-11-19 Thread Buicliu, Ion VSA:EX
Our UNIX-based organization is preparing to send encrypted data to a Windows-based organization. We have openSSL 0.9.8 on UNIX. We create the keys and will send them to the client in one process, then encrypt the data files and send them to the client in a different process. I don't know much abou

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Geoff Thorpe
On Wednesday 19 November 2008 15:14:21 Jan Klod wrote: > On Wednesday 19 November 2008 21:02:06 Geoff Thorpe wrote: > > If neither Michael (Ludvig) nor Andy (Polyakov) respond in the next > > day or so, I'll try to take a look at (and understand) the state of > > the padlock engine code. > > > > Ch

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
On Wednesday 19 November 2008 21:02:06 Geoff Thorpe wrote: > On Wednesday 19 November 2008 14:09:06 Jan Klod wrote: > > On Wednesday 19 November 2008 19:40:06 Michael S. Zick wrote: > > > On Wed November 19 2008, Jan Klod wrote: > > > > On Wednesday 19 November 2008 19:28:51 Michael S. Zick wrote:

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Geoff Thorpe
On Wednesday 19 November 2008 14:09:06 Jan Klod wrote: > On Wednesday 19 November 2008 19:40:06 Michael S. Zick wrote: > > On Wed November 19 2008, Jan Klod wrote: > > > On Wednesday 19 November 2008 19:28:51 Michael S. Zick wrote: > > > > That simplifies things, try 0.9.8i > > > > http://gentoo-po

Re: How to revoke certificates

2008-11-19 Thread Victor Duchovni
On Thu, Nov 20, 2008 at 01:29:25AM +0800, Talasila, Ravikanth wrote: > Hi, > > > > Using OpenSSL API > > 1.How to find that a certificate is expired? Which API deals with > this? > 2.How to move an expired certificate to revocation list? Is it > done automatically? Expired certificat

How to revoke certificates

2008-11-19 Thread Talasila, Ravikanth
Hi, Using OpenSSL API 1. How to find that a certificate is expired? Which API deals with this? 2. How to move an expired certificate to revocation list? Is it done automatically? 3. How certificates are verified at server side? If a bunch of certificates available (inside a pem

RE: signature length mismatch ERROR in RSA_Verify.

2008-11-19 Thread David Schwartz
> RSA_verify(NID_md5, datatosign, (strlen(datatosign)), signature, > strlen(signature), key); The 'strlen' function is only useable on a C-style string. The signature cannot be a C-style string because it is arbitrary binary data. > Best regards, > Am. Sivaramakrishnan DS __

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Michael S. Zick
On Wed November 19 2008, Jan Klod wrote: > On Wednesday 19 November 2008 19:40:06 Michael S. Zick wrote: > > On Wed November 19 2008, Jan Klod wrote: > > > On Wednesday 19 November 2008 19:28:51 Michael S. Zick wrote: > > > > That simplifies things, try 0.9.8i > > > > http://gentoo-portage.com/dev-

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
On Wednesday 19 November 2008 19:40:06 Michael S. Zick wrote: > On Wed November 19 2008, Jan Klod wrote: > > On Wednesday 19 November 2008 19:28:51 Michael S. Zick wrote: > > > That simplifies things, try 0.9.8i > > > http://gentoo-portage.com/dev-libs/openssl > > > > Why? It worked for you? > > Be

Compiling OpenSSL on win32, dlls have no version info

2008-11-19 Thread Tony Caduto
Hi, I recently compiled OpenSSL for windows using MinGW and the resulting dlls had no version information embedded in them. Is there a configure option or another way to enable the version information? Thanks, Tony __ OpenS

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Michael S. Zick
On Wed November 19 2008, Jan Klod wrote: > On Wednesday 19 November 2008 19:28:51 Michael S. Zick wrote: > > That simplifies things, try 0.9.8i > > http://gentoo-portage.com/dev-libs/openssl > > Why? It worked for you? > Because it is the current release version and takes next to no effort at all

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
On Wednesday 19 November 2008 19:28:51 Michael S. Zick wrote: > That simplifies things, try 0.9.8i > http://gentoo-portage.com/dev-libs/openssl Why? It worked for you? __ OpenSSL Project http://www.

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Michael S. Zick
On Wed November 19 2008, Jan Klod wrote: > On Wednesday 19 November 2008 18:58:31 Michael S. Zick wrote: > > Do you say which version of openSSL you are using? > > Have you looked at the development head in cvs? > > (I haven't) > 0.9.8h-r1 > no > > > Did you mention what operating system and versi

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
On Wednesday 19 November 2008 18:58:31 Michael S. Zick wrote: > Do you say which version of openSSL you are using? > Have you looked at the development head in cvs? > (I haven't) 0.9.8h-r1 no > Did you mention what operating system and version you are using? no; gentoo, but is that important? I th

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Michael S. Zick
On Wed November 19 2008, Jan Klod wrote: > On Wednesday 19 November 2008 18:27:07 Michael S. Zick wrote: > > On Wed November 19 2008, Jan Klod wrote: > > > Hello, > > > hashing acceleration with VIA padlock is a nice feature, if it works. I > > > am sure, it CAN work on my board, but openssl seams

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
On Wednesday 19 November 2008 18:27:07 Michael S. Zick wrote: > On Wed November 19 2008, Jan Klod wrote: > > Hello, > > hashing acceleration with VIA padlock is a nice feature, if it works. I > > am sure, it CAN work on my board, but openssl seams not to be able to use > > it! I can only get $(open

Re: problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Michael S. Zick
On Wed November 19 2008, Jan Klod wrote: > Hello, > hashing acceleration with VIA padlock is a nice feature, if it works. I am > sure, it CAN work on my board, but openssl seams not to be able to use it! > I can only get $(openssl speed -evp aes-256-cbc -engine padlock) improvement, > but not sha

Client verify failing - continued

2008-11-19 Thread Michael Simms
OK, as requested, I'm going to give a detailed breakdown of what the client and server does with this error As a note: The certificates are *fine* I have used them successfully with s_client and s_server tests. They verify perfectly well. So, the conversation goes as follows. I am abbreviating so

problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
Hello, hashing acceleration with VIA padlock is a nice feature, if it works. I am sure, it CAN work on my board, but openssl seams not to be able to use it! I can only get $(openssl speed -evp aes-256-cbc -engine padlock) improvement, but not sha1/sha256, witch is also supported by padlock. In tu

problems with VIA Eden sha1 HW acceleration in ssl

2008-11-19 Thread Jan Klod
Hello, hashing acceleration with VIA padlock is a nice feature, if it works. I am sure, it CAN work on my board, but openssl seams not to be able to use it! I can only get $(openssl speed -evp aes-256-cbc -engine padlock) improvement, but not sha1/sha256, witch is also supported by padlock. In tu

Re: how to enable ony AES,DES/3DES, RSA algorithm by using MACRO

2008-11-19 Thread Ger Hobbelt
You can turn OFF specific algorithms using macros - which can also be configured through the Configure script. macros all come in the form of OPENSSL_NO_xyz e.g. OPENSSL_NO_MDC2 and (IIRC) those same items can be configured through 'Configure -no_mdc2' and so on. That way, you can turn off all

Help for crypting password from a key

2008-11-19 Thread Florent Blanchon
Hello all. I didn't find help anywhere, so I have to ask you. I would like to cypher (and decypher) a password with a determined key. My program already use openssl, so that why I sent you this message. Thank you. Florent

Re: signature length mismatch ERROR in RSA_Verify.

2008-11-19 Thread Sivaramakrishnan Ananthakrishnan
Hi, As explained in the initial email we were able to resolve the "RSA_verify:wrong signature length" by generating the signature in two steps as explained below (which generates 128 byte signature): openssl dgst -md5 -binary -out signmd.bin input.txt openssl rsautl -encrypt -inkey rsap