Android Question Key not secure?

Discussion in 'Android Questions' started by Scotter, Dec 28, 2018.

Tags:
  1. Scotter

    Scotter Active Member Licensed User

    I used B4A's keystore system and it works for both Amazon and Google Play store. BUT Google gives me this message:
    Help?
     
  2. walterf25

    walterf25 Well-Known Member Licensed User

    Did you copy the actual physical keystore file into your project files?

    If so you're not supposed to do that.

    Walter
     
    Scotter likes this.
  3. Scotter

    Scotter Active Member Licensed User

    Thanks! I removed the keystore from files.
    But now it won't fully compile:
    Code:
    Convert byte code - optimized dex.    (5.56s)
        Optimized dexer failed. Switching 
    to Standard dexer.
    Packaging files.    (
    0.80s)
    Copying libraries resources    (
    0.00s)
    Signing package 
    file (private key).    Error

    jarsigner error: java.lang.RuntimeException: keystore load: F:\Dropbox\Projects_B4A\_P2E App\Files\key01.keystore (The system cannot find the 
    file specified)
     
  4. walterf25

    walterf25 Well-Known Member Licensed User

    The reason you get this error is because you removed the keystore file from the location you had it.
    Just create another directory outside of your project files, for example you can create it in your C:\ drive, and copy the keystore file in that directory, don't forget to change the location of the keystore file under Tools\Private Sign Key in the IDE.

    Regards,
    Walter
     
  5. Scotter

    Scotter Active Member Licensed User

    Or should I put this info somewhere in my project:
    Code:
    Scott Swain
    ClearSay
    US
    --pw here--
    Keystore 
    type: JKS
    Keystore provider: SUN
    Your keystore contains 
    1 entry
    Alias name: b4a
    Creation date: Dec 
    122018
    Entry 
    type: PrivateKeyEntry
    Certificate chain length: 
    1
    Certificate[
    1]:
    Owner: CN=Scott Swain, O=ClearSay, C=US
    Issuer: CN=Scott Swain, O=ClearSay, C=US
    Serial number: --sn here--
    Valid from: Wed Dec 
    12 19:24:17 CST 2018 until: Wed Apr 11 20:24:17 CDT 2057
    Certificate fingerprints:
    --stuff here--
         
    Signature algorithm name: SHA1withDSA
         Version: 
    3
    Extensions:
    #1: ObjectId: 2.5.29.14 Criticality=false
    SubjectKeyIdentifier [
    KeyIdentifier [
    --stuff here--
    ]
    ]
    *******************************************
    *******************************************
     
  6. Scotter

    Scotter Active Member Licensed User

    So are you saying keep keystore out of "project/files" but reference it from in the project IDE?
    I thought referencing a file would then copy the file into project/files?
     
  7. Scotter

    Scotter Active Member Licensed User

    Aha! I re-read your message and figured there was only one reference needed, to do it from tools/private sign key in the IDE. As you said. THANKS!
     
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