CandessCorrell / openssl-for-windows

Automatically exported from code.google.com/p/openssl-for-windows
0 stars 0 forks source link

openssl sha1 -binary produces different results under Windows 7 64bit and Ubuntu with binary file #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
0. Install Android SDK (keytool) and openssl 

1. Under Windows 7 64 bit:
keytool -export -alias androiddebugkey -keystore ~/.android/debug.keystore | 
openssl sha1 -binary > key_windows

2. Under Ubuntu (or any other Unix familty)
keytool -export -alias androiddebugkey -keystore ~/.android/debug.keystore | 
openssl sha1 -binary > key_linux

3. diff key_windows key_linux
It reports differences when files must be identical.

Since Ubuntu version works find and Windows doesn't the conclusion is that 
Windows 7 version of openssl is broken.

Original issue reported on code.google.com by iprile...@gmail.com on 23 Jun 2011 at 4:38

GoogleCodeExporter commented 8 years ago
I have have this same issue and am puzzled as to why the outputs are different 
on mac / win.

I have verified that the keytool command gives the same output on win7 64bit 
and on a Mac, so the problem must lie with openssl

Original comment by Goslin...@gmail.com on 11 Aug 2011 at 1:39

GoogleCodeExporter commented 8 years ago
 issue is running on a windows 7 64x,
 after it try's to install a window pops up with an error that it's missing ssleay32.dll
After retrying to r install it pops the same answer.  

Original comment by vistagal...@gmail.com on 6 Nov 2011 at 5:04