App signing setup: keystore, alias, passwords, and fingerprint upload
1. Create the keystore
keytool -genkey -v \
-keystore release.keystore \
-alias release \
-keyalg RSA \
-keysize 2048 \
-validity 10000 \
-storetype PKCS12Use PKCS12 (the current standard) and a 10,000-day validity, because the certificate has to outlive the app. Keep the keystore out of git entirely; it is the one file that can never be regenerated. The deeper format and rotation details are in the Android keystore guide.
2. Pick an alias and never change it
The alias names the key entry inside the keystore (release above). Android ties your app's update identity to the key under that alias, so a signing configuration must always reference the same alias. Renaming it or generating a second entry and pointing builds at the wrong one is how "the update won't install" bugs are born. One keystore, one alias, one app.
3. Manage the two passwords
- Store password: opens the keystore file itself.
- Key password: unlocks the alias. It's fine (and common) for it to match the store password.
Store them separately from the file
Put both passwords and the alias in a password manager, and the .keystore file in an encrypted backup, so they sit in different places. Anyone holding all three can sign updates as you. Anyone missing one of them cannot, which is the property you want for both attackers and accidents.
4. Read and upload your fingerprints
keytool -list -v -keystore release.keystore -alias releaseThe output includes the certificate's SHA-1 and SHA-256 fingerprints. These aren't secret. They're identifiers. Paste the SHA-1 into Google Sign-In and Firebase consoles, the SHA-256 into Play Console's App Integrity page and Digital Asset Links for app links. Uploading the wrong fingerprint is the classic reason Google Sign-In works in debug but fails in release.
5. Where this lives in Corenna
Every build's detail page has a Signing section showing the SHA-1 and SHA-256 fingerprints reported by the signing step. These are the values to copy into the Google and Firebase consoles. For managed keystores the same section can recover your key alias and both passwords and download the keystore file itself, so you always hold everything needed to keep signing future updates. Open any build from your projects to see it. Corenna keeps the keystore in private storage and its passwords in an encrypted vault, and copies both into your repo's GitHub Actions secrets for the build. Details are on the Security page.