'RSA_padding_check_PKCS1_type_1:block type is not 01' error

2009-04-17 Thread Rodrigo Canellas
Hi! I am trying to use 'RSA_verify' to verify a signature, but I am getting the error 67567722, which is translated to: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01. When I use 'openssl pkcs7 -in TEST_KEY.RSA -print_certs -text -noout -inform DER', I get:

'RSA_verify' and 'RSA_padding_check_PKCS1_type_1:block type is not 01' error

2009-04-17 Thread Rodrigo Canellas
Hi! I am trying to use 'RSA_verify' to verify a signature, but I am getting the error 67567722, which is translated to: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01. When I use 'openssl pkcs7 -in TEST_KEY.RSA -print_certs -text -noout -inform DER', I get:

Query regarding FIPS 140-2 level 2 support

2009-04-17 Thread Sibasis Panigrahi
Hi Guys, We have a requirement for making our product FIPS 140-2 level 2 compliant. From internet i found out that OpenSSL 0.9.8 is FIPS 140-2 level 1 compliant. So just wanted to check whether any version of OpenSSL library is supporting FIPS 140-2 level 2 or its on the roadmap. Looking

RE: Query regarding FIPS 140-2 level 2 support

2009-04-17 Thread Bill Colvin
From the FIPS 140-2 standard: Security Level 2 enhances the physical security mechanisms of a Security Level 1 cryptographic module by adding the requirement for tamper-evidence, which includes the use of tamper-evident coatings or seals or for pick-resistant locks on removable covers or doors

Debugging OpenSSL with Visual Studio 2008

2009-04-17 Thread Bob Barnes
hi, I realize this may be slightly off-topic, but a search of the Microsoft forums hasn't turned up anything useful and I'm hoping that someone here has had some experience getting this to work. I've successfully built a debug version of OpenSSL on Windows and I'm now trying to use Visual

Re: Debugging OpenSSL with Visual Studio 2008

2009-04-17 Thread Carter Browne
It is hard to reply without knowing what you are trying to do, but if you put a break point at the :arg.data=NULL; statement and then use the step over, step into options of the debugger, you should be able to get to the area you are looking for. If VC tells you the breakpoint won't be reached,

RE: Debugging OpenSSL with Visual Studio 2008

2009-04-17 Thread Bob Barnes
Carter, That's exactly where I've tried to put the breakpoint, but I never hit it and as I indicated earlier, the breakpoint symbol indicates that symbols weren't loaded even though other information, like the Module list and the debug output window, indicate that symbols were loaded. Bob

'RSA_verify' and 'RSA_padding_check_PKCS1_type_1:block type is not 01' error

2009-04-17 Thread Rodrigo Canellas
Hi! I am trying to use 'RSA_verify' to verify a signature, but I am getting the error 67567722, which is translated to: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01. When I use 'openssl pkcs7 -in TEST_KEY.RSA -print_certs -text -noout -inform DER', I

Re: Debugging OpenSSL with Visual Studio 2008

2009-04-17 Thread Carter Browne
If you use the step into option when you start debugging, then the debugger will step through the program starting from the beginning. Did you turn off all optimizations (-Od)? If you do not, then the debugger can not associate the source code directly with the compiled code. Carter Carter

RE: Debugging OpenSSL with Visual Studio 2008

2009-04-17 Thread Bob Barnes
Good thought, but both nt.mak ntdll.mak have the '/Od' argument set on the 'CFLAG'. I've found that I can debug the assembler code, but needless to say that's not really ideal. Bob -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On

Re: 'RSA_verify' and 'RSA_padding_check_PKCS1_type_1:block type is not 01' error

2009-04-17 Thread Dr. Stephen Henson
On Fri, Apr 17, 2009, Rodrigo Canellas wrote: Hi! I am trying to use 'RSA_verify' to verify a signature, but I am getting the error 67567722, which is translated to: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01. When I use 'openssl pkcs7 -in

RE: 'RSA_padding_check_PKCS1_type_1:block type is not 01' error

2009-04-17 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Rodrigo Canellas Sent: Thursday, 16 April, 2009 15:59 I am trying to use 'RSA_verify' to verify a signature, but I am getting the error 67567722, which is translated to: error:0407006A:rsa

RE: Win-32 build problem

2009-04-17 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Bob Barnes Sent: Thursday, 16 April, 2009 22:26 Dave, Thanks for the reply. How exactly do you debug OpenSSL? Do you use Visual Studio or some other tool? As I mentioned earlier I'm not Windows savy, I'm primarily a Java and/or Mac

RE: Win-32 build problem

2009-04-17 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Bob Barnes Sent: Thursday, 16 April, 2009 22:26 Dave, Thanks for the reply. How exactly do you debug OpenSSL? Do you use Visual Studio or some other tool? As I mentioned earlier I'm not Windows savy, I'm primarily a Java and/or Mac