Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Feb 23, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 23 Jun 2011 at 4:38

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 11 Aug 2011 at 1:39

@GoogleCodeExporter
Copy link
Author

 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 [email protected] on 6 Nov 2011 at 5:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant