Re: [openssl-users] big endian vs little endian

2016-12-21 Thread Sam Horwitz
Yes. Thanks you it works. My stupid. -Original Message- From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of Salz, Rich Sent: Tuesday, December 20, 2016 12:16 PM To: openssl-users@openssl.org Subject: Re: [openssl-users] big endian vs little endian > I am obvio

Re: [openssl-users] big endian vs little endian

2016-12-20 Thread Salz, Rich
> I am obviosly a newbie and missing something. How then do I encrypt the file > on one machine (little endian), transmit it to another machine (big endian) > and decrypt it there? Did you try it? -- openssl-users mailing list To unsubscribe:

Re: [openssl-users] big endian vs little endian

2016-12-18 Thread Jeffrey Walton
On Sun, Dec 18, 2016 at 5:09 PM, Viktor Dukhovni wrote: > >> On Dec 18, 2016, at 2:55 PM, Walter H. via openssl-users >> wrote: >> >> encrypt >> openssl enc -e -in file -out encryptfile -aes-256-gcm > > GCM is not supported with "openssl

Re: [openssl-users] big endian vs little endian

2016-12-18 Thread Jeremy Farrell
On 18/12/2016 16:21, sahorwitz wrote: I am obviosly a newbie and missing something. How then do I encrypt the file on one machine (little endian), transmit it to another machine (big endian) and decrypt it there? What problem are you actually seeing? In what way does the decryption fail on

Re: [openssl-users] big endian vs little endian

2016-12-18 Thread Viktor Dukhovni
> On Dec 18, 2016, at 2:55 PM, Walter H. via openssl-users > wrote: > > encrypt > openssl enc -e -in file -out encryptfile -aes-256-gcm GCM is not supported with "openssl enc(1)". Use a CBC cipher instead. -- Viktor. -- openssl-users mailing list To

Re: [openssl-users] big endian vs little endian

2016-12-18 Thread Walter H. via openssl-users
On 18.12.2016 17:21, sahorwitz wrote: I am obviosly a newbie and missing something. How then do I encrypt the file on one machine (little endian), transmit it to another machine (big endian) and decrypt it there? similar to this: encrypt openssl enc -e -in file -out encryptfile -aes-256-gcm

Re: [openssl-users] big endian vs little endian

2016-12-18 Thread Ken Goldman
On 12/18/2016 11:21 AM, sahorwitz wrote: I am obviously a newbie and missing something. How then do I encrypt the file on one machine (little endian), transmit it to another machine (big endian) and decrypt it there? Why do you think endian'ness is an issue? -- openssl-users mailing list To

Re: [openssl-users] big endian vs little endian

2016-12-18 Thread sahorwitz
I am obviosly a newbie and missing something. How then do I encrypt the file on one machine (little endian), transmit it to another machine (big endian) and decrypt it there? -- View this message in context: http://openssl.6102.n7.nabble.com/big-endian-vs-little-endian-tp69372p69377.html Sent

Re: [openssl-users] big endian vs little endian

2016-12-15 Thread Salz, Rich
It’s not endianness, it’s random data in the encrypted stream. Try encrypting the same file (and password) twice on the same host. Try decrypting it. Everything will work right. -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

[openssl-users] big endian vs little endian

2016-12-15 Thread Samuel Horwitz
When I attempt to encrypt the same text file with the command " openssl bf tfile.bin" I get different results on big endian machines vs little endian machines. Is this the expected result? If so how do you share encrypted data between big endian and little endian machines Thanks -- *Samuel A