Re: [openssl-users] Is it mandatory to reverse windows signature while doing verification in OpenSSL?

2015-03-31 Thread Viktor Dukhovni
On Wed, Apr 01, 2015 at 06:12:36AM +, Rishabh K Dubey wrote: > We have signed data on Win 7 using Crypto APIs and generated > signature. What sort of "signature" is that? > We have observed this signature data needs to be reversed > for verification using OpenSSL. What does "reversed" mean?

[openssl-users] Is it mandatory to reverse windows signature while doing verification in OpenSSL?

2015-03-31 Thread Rishabh K Dubey
Dear, We have signed data on Win 7 using Crypto APIs and generated signature. We have observed this signature data needs to be reversed for verification using OpenSSL. If we reverse signature data and pass it to OpenSSL verification command then OpenSSL verifies it successfully. We wanted to co

Re: [openssl-users] Openssl session resumption issue

2015-03-31 Thread Viktor Dukhovni
On Tue, Mar 31, 2015 at 11:21:02PM +0530, Sahib Jakhar wrote: > 1. On the client side, even though saving of session using > PEM_ASN1_write_bio works, Why are you using PEM_ASN1_write_bio()? Serialize sessions using i2d_SSL_SESSION(), and then save the resulting octet string ( not NUL terminated

[openssl-users] Openssl session resumption issue

2015-03-31 Thread Sahib Jakhar
Hi, I am trying to implement session resumption on a client/server model using disk based session caching. I am facing couple of problems: 1. On the client side, even though saving of session using PEM_ASN1_write_bio works, reading it again using PEM_ASN1_read_bio always returns NULL pointer for

Re: [openssl-users] Regarding server side sessions support

2015-03-31 Thread Sahib Jakhar
Thanks Dr Henson and Viktor your comment helped me immensely. ___ openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[openssl-users] expect.pm not updating password

2015-03-31 Thread MAGANA, ANDREAS S I CTR USAF AFMC 72 ABW/SCOOT
I have a expect.pm script that is supposed to ssh to remote host and change my password on a Sparc Solaris 10 server. #!/usr/bin/perl use strict; use Expect; my $ssh = Expect->new('ssh mylogin@remotehost'); $ssh->debug(0); $ssh->expect("Password:\n"); $ssh->send("mycurrentpassword\n"); $ssh->ex

Re: [openssl-users] QNX cross-compiled openssl with fips

2015-03-31 Thread Piotr Ɓobacz
Ok i have finally managed to cross-compile openssl with fips for QNX platform. What i did wass modifing the fipsld script not to input this magical number[ $? -ne 42 ] && exit $? and the returned output of "${FIPS_SIG}" -exe "${TARGET}" was saved in SIG variable, because this line SIG=`"${TARGET}"