Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Jan Kohnert
Am Fri, 23 Mar 2018 21:22:02 + schrieb Matt Caswell : > Also what happens if you change this line: > >bioCryptedData = BIO_new_file("testfile.crypt", "w"); > > to > >bioCryptedData = BIO_new_file("testfile.crypt", "wb"); good point, thanks. I'll test that on Monday and report back.

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Jan Kohnert
Hi, Am Fri, 23 Mar 2018 18:32:28 + schrieb "Salz, Rich via openssl-users" : > How big is the file? Could it be bigger than 32 vs 64 bit platforms? the testfile in the zip is only a few bytes. The problem exists for larger files, too (I didn't try *really* large files, though) Best regards

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Jan Kohnert
Hi, Am Fri, 23 Mar 2018 21:14:30 + schrieb Matt Caswell : > Your minimal working example only does the encrypt side. Please could > you show the decrypt side too that demonstrates the error. The problem is on the encryption/signing side: the signed/encrypted files are broken. A test on the

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Matt Caswell
On 23/03/18 17:03, Jan Kohnert wrote: > Hello, > > I'm using the openssl-libs for signing/encrypting files in PKCS#7 > format. When trying to upgrade from 1.0.2 to 1.1.0 the code stops > working properly: Files are generated, but the formating is broken. > When trying to decrypt the generated

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Matt Caswell
Your minimal working example only does the encrypt side. Please could you show the decrypt side too that demonstrates the error. Matt On 23/03/18 18:25, Jan Kohnert wrote: > Hi again, > > Am Fri, 23 Mar 2018 18:03:17 +0100 > schrieb Jan Kohnert : > >> I'm using the openssl-libs for signing/enc

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Salz, Rich via openssl-users
Did you specify the -md flag on either/both? https://www.openssl.org/docs/faq.html#USER3 -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Sergio NNX
I've just built it (manually) on Windows and I don't see any error messages. A few points/questions: - Why cmake? - I does not build/compile at all. - Why is this line here: #include ? I get a compilation error! 😱 - Why are we adding these libraries: odbc32 advapi32 ? CMake Error at CMa

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Salz, Rich via openssl-users
How big is the file? Could it be bigger than 32 vs 64 bit platforms? -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

2018-03-23 Thread Jan Kohnert
Hi again, Am Fri, 23 Mar 2018 18:03:17 +0100 schrieb Jan Kohnert : > I'm using the openssl-libs for signing/encrypting files in PKCS#7 > format. When trying to upgrade from 1.0.2 to 1.1.0 the code stops > working properly: Files are generated, but the formating is broken. > When trying to decry

Re: [openssl-users] DTLS over UDP

2018-03-23 Thread Nivedita
Hi Michael, We are working on SIP , and i am looking for dtlsv1_accept method so that when multiple clients want to connect to single server, dtls should open a separate port for each client instance, when running over udp. Regards, Nivedita On Wed, Mar 21, 2018 at 11:04 PM, Michael Richardson