Export to GitHub

openssl-for-windows - issue #2

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


Posted on Jun 23, 2011 by Happy Elephant
  1. Install Android SDK (keytool) and openssl

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

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

  4. 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.

Comment #1

Posted on Aug 11, 2011 by Grumpy Monkey

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

Comment #2

Posted on Nov 6, 2011 by Happy Horse

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.

Status: New

Labels:
Type-Defect Priority-Medium