When i change the app signing key from "Let Google manage and protect your app signing key (recommended)", as i was insturcted to do this by agk forum members i cant pick any option becuase they conflict with appgamekit app signing process thus i cant do the tasks that option wants. The stepts required for the both option are listed below, can someone help me to upload my game?
Export and upload a key from Java keystore
Download the Play Encrypt Private Key (PEPK) tool. Download source code
Run the tool using the command below to export and encrypt your private key. Replace the arguments, and enter your keystore and key passwords when prompted.
$ java -jar pepk.jar --keystore=foo.keystore --alias=foo --output=output.zip --include-cert --encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a
For increased security, create a new upload key (optional).
Show instructions
expand_more
Export and upload a key (not using Java Keystore)
Use this code (the code performs EC-P256+AES-GCM hybrid encryption) with the hex encoded public key (a 4-byte identity followed by a 64-byte P256 point) below to create your own tool exporting the encrypted private key.
eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a
For increased security, create a new upload key (optional).
Hide instructions
expand_less
Create a new upload key and use it to sign each release, instead of your app signing key. If you ever lose your upload key, or it's compromised, you can reset it to start using a new one.
Generate new upload key. Learn more
Export the upload key certificate as a PEM file using the following command. Replace the arguments in bold.
$ keytool -export -rfc -keystore upload-keystore.jks -alias upload -file upload_certificate.pem