0

According to this tutorial you need to run this command to generate key hash:

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

When I do that it asks for a password. What password it needs?

DavidPostill
  • 7,734
  • 9
  • 41
  • 60
Narek
  • 38,779
  • 79
  • 233
  • 389
  • check my answer here http://stackoverflow.com/questions/4388992/key-hash-for-android-facebook-app/17732453#17732453 – Shahar Mar 21 '16 at 13:38

1 Answers1

2

Presumably it's asking for the password to the debug.keystore specified in the keytool command. which should be defaulted to android

If you've manually changed the password of the keystore, then you'll obviously need to enter the password that you changed it to.

user3062946
  • 682
  • 1
  • 6
  • 17
  • Thank you. And how can I change the password if I want to? – Narek Sep 05 '14 at 14:05
  • @Narek [Does this work?](http://stackoverflow.com/questions/24901734/how-to-change-debug-keystore-to-custom-keystore-in-eclipse) – admdrew Sep 05 '14 at 14:06
  • You should be able to do it with keytool, `keytool -storepasswd -keystore your.keystore`, just to clarify: this command will then ask for the existing password and allow you to change it to something else. – user3062946 Sep 05 '14 at 14:08