Android Question Key not secure?

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?
 

walterf25

Expert
Licensed User
Longtime User
I used B4A's keystore system and it works for both Amazon and Google Play store. BUT Google gives me this message:

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

If so you're not supposed to do that.

Walter
 
Upvote 0

Scotter

Active 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
Thanks! I removed the keystore from files.
But now it won't fully compile:
B4X:
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)
 
Upvote 0

walterf25

Expert
Licensed User
Longtime 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
 
Upvote 0

Scotter

Active Member
Licensed User
Or should I put this info somewhere in my project:
B4X:
Scott Swain
ClearSay
US
--pw here--
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: b4a
Creation date: Dec 12, 2018
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--
]
]
*******************************************
*******************************************
 
Upvote 0

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?
 
Upvote 0

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!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…