Android Question Firebase Auth, Facebook Key-Hash

Discussion in 'Android Questions' started by KZero, Apr 14, 2019.

  1. KZero

    KZero Active Member Licensed User

    Hello,

    i'm trying to generate Key-Hash for Facebook but i'm getting this error

    Warning:
    The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore D:\Android\MyPSK.keystore -destkeystore D:\Android\MyPSK.keystore -deststoretype pkcs12".

    there is anyway to ignore this warning and just create the Key-hash ?

    and if there is not, if i migrated my key to PKCS12 i will be able to update my old signed apps on google play using the new PKCS12 key ?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This looks like a warning that shouldn't stop the process. Don't you see the hash key?
     
  3. KZero

    KZero Active Member Licensed User

    No, under the warning i only see 4 characters
     

    Attached Files:

    • fb.png
      fb.png
      File size:
      4.7 KB
      Views:
      26
  4. Erel

    Erel Administrator Staff Member Licensed User

    I've just tested it with a keystore created with B4A and this command:
    Code:
    keytool -exportcert -alias B4A -keystore "key.keystore" | c:\OpenSSL-Win32\bin\openssl sha1 -binary | c:\OpenSSL-Win32\bin\openssl base64
    It should ask for the password and then show the required key.
     
  5. KZero

    KZero Active Member Licensed User

    yes , it's asking for the password "and i'm sure its the right password"

    i tried to create an other keystore, it shows the warning and i get the hash-key under it , the problem with my old key that i only get "Woxw" instead of of the hash-key
     
  6. KZero

    KZero Active Member Licensed User

    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice