Re: [openssl-users] Verifying RSA-SHA1 signature?

2016-09-12 Thread Dr. Stephen Henson
On Mon, Sep 12, 2016, Nikolay Kudryavtsev wrote: > > Whenever I try to verify data signed with my own key, everything > works. But for that data that I got from a third party nothing > works. That third party is adamant that the signature is correct and > it's RSA_SHA1, but they've been unwilling

Re: [openssl-users] OpenSSL 1.0.2h reports speed test results as 0 secs and Infk ops/sec

2016-09-12 Thread Dennis Clarke
Have you tried running Oracle's builds of OpenSSL? They do the same thing on the UltraSPARC 2e: This is officially a bug. I'll file it and start looking into this one. Very odd. I will try this on a few other RISC architectures and see what I see. Starting with Power6. Dennis -- openssl

Re: [openssl-users] OpenSSL 1.0.2h reports speed test results as 0 secs and Infk ops/sec

2016-09-12 Thread Jeff Wieland
Dennis Clarke wrote: I do build with the no-asm option, and I'm seeing the problem. I'm suspicious that somehow the compiler optimization is generating code that doesn't work quite right on the UltraSPARC 2e. I have seen this a few times now so I also felt, hrmmm, something not quite righ

Re: [openssl-users] 1.1.0 Failed to Compile using Visual Studio 6 and SDK 2003 SP1

2016-09-12 Thread Mauricio Rodriguez
Jakob, Thank you very much for your feedback. I think it makes sense to use something more modern with more support and more users. Thank you for your prompt response. Mauricio Sent from my Ipad Ignore any typos > On Sep 12, 2016, at 5:42 PM, Jakob Bohm wrote: > > On 12/09/2016 21:11,

Re: [openssl-users] 1.1.0 Failed to Compile using Visual Studio 6 and SDK 2003 SP1

2016-09-12 Thread Jakob Bohm
On 12/09/2016 21:11, Salz, Rich wrote: I cannot speak for the project, but Visual Studio 6.0 seems sufficiently old that I would not expect it to be a supported toolchain. Yeah, wow, 1998? Not supported. VC 6.0 was the official Microsoft compiler until the release of Visual Studio.NET 2002.

Re: [openssl-users] OpenSSL 1.0.2h reports speed test results as 0 secs and Infk ops/sec

2016-09-12 Thread Dennis Clarke
I do build with the no-asm option, and I'm seeing the problem. I'm suspicious that somehow the compiler optimization is generating code that doesn't work quite right on the UltraSPARC 2e. I have seen this a few times now so I also felt, hrmmm, something not quite right happening on these o

Re: [openssl-users] 1.1.0 Failed to Compile using Visual Studio 6 and SDK 2003 SP1

2016-09-12 Thread Salz, Rich
> I cannot speak for the project, but Visual Studio 6.0 seems sufficiently old > that I would not expect it to be a supported toolchain. Yeah, wow, 1998? Not supported. -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] 1.1.0 Failed to Compile using Visual Studio 6 and SDK 2003 SP1

2016-09-12 Thread Mauricio Rodriguez
Ben, Thanks for your prompt answer. I was thinking the same... but was hoping someone had been able to compile and give me some ideas... I'll wait for additional feedback - hoping for the impossible. We should not be using 20 year compiler to do this - agree... On Mon, Sep 12, 2016 at 2:31 PM, B

Re: [openssl-users] 1.1.0 Failed to Compile using Visual Studio 6 and SDK 2003 SP1

2016-09-12 Thread Benjamin Kaduk
On 09/12/2016 10:57 AM, Mauricio Rodriguez wrote: > Hello, > > > I have been able to compile 1.1.0 with no issues using just about all > versions of VStudio .NET2003/2005/2008/2010. So, all good there. > However, the compilation process using Visual studio 6 has not been > smooth and still fails. H

Re: [openssl-users] Verifying RSA-SHA1 signature?

2016-09-12 Thread Viktor Dukhovni
> On Sep 12, 2016, at 1:26 PM, Nikolay Kudryavtsev > wrote: > > The canonical representation is just a single string of data. I've tried > asking that third party whether they have any line endings at the end when > they sign it, but received no usable answer. So the most probable is no line

Re: [openssl-users] Verifying RSA-SHA1 signature?

2016-09-12 Thread Nikolay Kudryavtsev
Good question! The canonical representation is just a single string of data. I've tried asking that third party whether they have any line endings at the end when they sign it, but received no usable answer. So the most probable is no line endings. I've tried all 3 options, gonna try again jus

Re: [openssl-users] Verifying RSA-SHA1 signature?

2016-09-12 Thread Viktor Dukhovni
> On Sep 12, 2016, at 1:07 PM, Nikolay Kudryavtsev > wrote: > > The signature is base64 encoded, so first I do: > openssl enc -d -A -base64 -in signature.txt -out signature.sha1 > Then I do: > openssl dgst -verify pubkey.pem -signature signature.sha1 datafile.txt > Or: > openssl dgst -sha1 -ver

[openssl-users] Non-blocking SSL_read/SSL_write: difference between renegociation and data famine

2016-09-12 Thread Nicolas Brunie
Hi, I am trying to implement bufferization of data on a SSL connection at the application layer. To do so I implemented a wrapper to SSL_write, which fills a buffer rather than sending data directly to SSL_write. When the buffer is full the data is flushed in a call to SSL_write, but when t

[openssl-users] Verifying RSA-SHA1 signature?

2016-09-12 Thread Nikolay Kudryavtsev
I have some data that was signed with RSA-SHA1 . What's the proper way of verifying that data with a signature? The signature is base64 encoded, so first I do: openssl enc -d -A -base64 -in signature.txt -out signature.sha1 Then I do: openssl dgst

Re: [openssl-users] OpenSSL 1.0.2h reports speed test results as 0 secs and Infk ops/sec

2016-09-12 Thread Jeff Wieland
Dennis Clarke wrote: On 09/11/2016 03:44 PM, Jeff Wieland wrote: I see the same thing on Sun Blade 150 (650Mhz), with OpenSSL 1.0.2h compiled with Studio 12.2 -- and with a Sun Fire V100 (550Mhz). It works correctly on a Sun Fire V240 (1.5Ghz), a Sun Ultra 10 (440Mhz), a Sun Fire T1000, and Sun

[openssl-users] 1.1.0 Failed to Compile using Visual Studio 6 and SDK 2003 SP1

2016-09-12 Thread Mauricio Rodriguez
Hello, I have been able to compile 1.1.0 with no issues using just about all versions of VStudio .NET2003/2005/2008/2010. So, all good there. However, the compilation process using Visual studio 6 has not been smooth and still fails. Here is the environment I am using: - CL.exe - Microsoft (

Re: [openssl-users] How to disable SSL session resumption completelly?

2016-09-12 Thread Viktor Dukhovni
On Mon, Sep 12, 2016 at 05:35:06PM +0300, Andrey Kulikov wrote: > I'm using OpenSSL 1.0.2g > In my client I would like to disable SSL session resumption completely (for > test purposes). The odd thing is that on the client side, nothing in OpenSSL does resumption by default, because OpenSSL does

[openssl-users] How to disable SSL session resumption completelly?

2016-09-12 Thread Andrey Kulikov
Hello, I'm using OpenSSL 1.0.2g In my client I would like to disable SSL session resumption completely (for test purposes). I do prior to connection, after creating SSL_CTX: SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF); SSL_CTX_set_options(ctx, SSL_OP_NO_TICKET); But what I saw in tr