Re: [openssl-users] OpenSSL library/development problems on OpenSUSE 13.2

2016-02-09 Thread Mark Parr
Thanks, Rich. That fixed things. Obviously not familiar w/ memmove() or the memcpy() issue w/ overlapping data area. Thanks again. -Original Message- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Salz, Rich Sent: Tuesday, February 09, 2016 2:44 PM To: ope

Re: [openssl-users] FIPS Object Module v2.0 and openssl security patches

2016-02-09 Thread Kyle Hamilton
On 2/9/2016 12:29 PM, Steve Marquess wrote: > On 02/09/2016 03:19 PM, cloud force wrote: >> Hello everyone, >> >> Would the FIPS Object Module v2.0 supposed to only work with the vanilla >> openssl library? If I apply the security patches to the openssl library, >> should the FIPS Object Module v

Re: [openssl-users] OpenSSL library/development problems on OpenSUSE 13.2

2016-02-09 Thread Salz, Rich
   // Generates Garbage    memcpy(encbuf, encbuf+100, enclen); For overlapping copies you are supposed to use memmove. -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[openssl-users] OpenSSL library/development problems on OpenSUSE 13.2

2016-02-09 Thread Mark Parr
I have a program that for some time now under SUSE Linux Enterprise Server has worked fine. Recently, it was moved over to an OpenSUSE 13.2 system and a problem was encountered. The program interfaces to a 3rd party and data is received into our program where the data block consists of some h

Re: [openssl-users] FIPS Object Module v2.0 and openssl security patches

2016-02-09 Thread Steve Marquess
On 02/09/2016 03:19 PM, cloud force wrote: > Hello everyone, > > Would the FIPS Object Module v2.0 supposed to only work with the vanilla > openssl library? If I apply the security patches to the openssl library, > should the FIPS Object Module v2.0 still work without problems? You should patch O

[openssl-users] FIPS Object Module v2.0 and openssl security patches

2016-02-09 Thread cloud force
Hello everyone, Would the FIPS Object Module v2.0 supposed to only work with the vanilla openssl library? If I apply the security patches to the openssl library, should the FIPS Object Module v2.0 still work without problems? Thanks, Rich -- openssl-users mailing list To unsubscribe: https://mta

Re: [openssl-users] Is the structure of this CMS object correct?

2016-02-09 Thread Stephan Mühlstrasser
Am 09.02.2016 um 16:39 schrieb Erwann Abalea: Bonjour Stephan, ... I can also not decrypt the recipient.bin file with the "openssl smime" command. Do I understand it correctly then that the input file is neither a correct PKCS#7 file nor a correct CMS file? PKCS#7 and CMS are pretty much int

Re: [openssl-users] Is the structure of this CMS object correct?

2016-02-09 Thread Erwann Abalea
Bonjour Stephan, Le 9 févr. 2016 à 12:29, Stephan Mühlstrasser mailto:s...@pdflib.com>> a écrit : Am 09.02.16 um 11:53 schrieb Erwann Abalea: Bonjour, Le 9 févr. 2016 à 10:15, Stephan Mühlstrasser mailto:s...@pdflib.com> > a écrit : ... SET { [1] {

Re: [openssl-users] FIPS building scripts does NOT work for iOS >=7

2016-02-09 Thread Steve Marquess
On 02/08/2016 10:11 PM, Yang Hong wrote: > Hello Steve. > > Thank you very much for your quick response. > > I have tried different approaches to build FIPS module, according to the > testing instructions of iOS 7.1 and iOS 8.1. Unfortunately I failed for > all the FIPS packages for iOS >= 7, i.e

Re: [openssl-users] Is the structure of this CMS object correct?

2016-02-09 Thread Stephan Mühlstrasser
Bonjour Erwann, Am 09.02.16 um 11:53 schrieb Erwann Abalea: Bonjour, Le 9 févr. 2016 à 10:15, Stephan Mühlstrasser mailto:s...@pdflib.com>> a écrit : ... SET { [1] { SEQUENCE { INTEGER 3 … This is the expression of an EXPLICIT tag. I can mat

Re: [openssl-users] Is the structure of this CMS object correct?

2016-02-09 Thread Erwann Abalea
Bonjour, Le 9 févr. 2016 à 10:15, Stephan Mühlstrasser mailto:s...@pdflib.com>> a écrit : Hi, I'm trying to decrypt a DER-encoded CMS object (created by Adobe Acrobat) with OpenSSL 1.0.2d: $ openssl cms -decrypt -in recipient.bin -inform DER -inkey atssecp521r1.key -recip atssecp521r1.pem E

[openssl-users] Is the structure of this CMS object correct?

2016-02-09 Thread Stephan Mühlstrasser
Hi, I'm trying to decrypt a DER-encoded CMS object (created by Adobe Acrobat) with OpenSSL 1.0.2d: $ openssl cms -decrypt -in recipient.bin -inform DER -inkey atssecp521r1.key -recip atssecp521r1.pem Error reading S/MIME message 140735227593552:error:0D0680A8:asn1 encoding routines:ASN1_CH