Reputation: 1
my key.properties file:
storePassword=<store_password>
keyPassword=<key_password>
keyAlias=<key_alias>
storeFile=<.jks_file_path>
Upvotes: 0
Views: 172
Reputation: 121
Yes It is secure hovewer there are few things you can do to make it more secure Hovewer it might be less convenient.
Firstly never publish key.properties file and key.jks file. In case you are using git ensure it's included in .gitignore
For anybody to be able to sign an app with this id they need the private key (key.jks) and both the passwords. This might be a problem if your computer gets compromised.
What you could do is storing the key.jks in a password manager app so that in case your computer gets compromised only the 2 passwords are leaked. You do have to get the key out of the password manager every time you build the release and remove it afterwards though
Upvotes: 0
Reputation: 1
Yes, it's secure. But don't save these files to public repository
Upvotes: 0