I am using the signapk version for one of my projects. I sign my apk with an open, private key pair (.pk8 and .pem).
My application uses facebook's single-sign-on mechanism, and I need a hash of the signing certificate registered with facebook to make sure the correct application launches the single sign-on process. Facebook provides the following code example to generate this hash:
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore
| openssl sha1 -binary
| openssl base64
I am a little confused about how to create an appropriate hash from my public key, a private key pair that I use for signing.
source
share