I am trying to generate a release key hash for my Android app, following the Facebook docs, I have no problem creating the debug with:
keytool -exportcert -alias plicprintdebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
It is asking for a password, I enter "android" and got the debug key.
But for the release key when I enter:
keytool -exportcert -alias plicpreleasekeyfb -keystore /Users/vedtam/Desktop | openssl sha1 -binary | openssl base64
the terminal window spits a key, but it does not prompt for a password, and does not write anything on my desktop. I was reading this indicates an error, and the given key will be invalid.
Can someone explain how to generate the Facebook release key correctly on mac please? Thanks!
== UPDATE ==
Thanks to Mattia, I have figured out, and while there is almost 0 example out there regarding the generation of a Facebook Key Hash I hope this will guide others:
you need not only the alias to have the name of the production key, but it must be written out after the RELEASE_KEY_PATH:
keytool -exportcert -alias plicprint -keystore /Users/vedtam/Desktop/plicprint | openssl sha1 -binary | openssl base64