With Play App Signing, how do the upload key and the app signing key differ, and why does an Android App Bundle need it?
answer
- two keys, two holders
- bundle defers APK signing
- Google holds the device-facing key
- upload key can be reset
- register the signing fingerprint
basics
~20 sYou sign the bundle with an upload key proving it is yours; Google Play holds the app signing key and signs the per-device APKs it generates. A bundle defers APK generation and signing to Play, so Play must hold that key.
solid answer
~40 sAn Android App Bundle carries code and resources but leaves APK generation and signing to Google Play, which builds optimized APKs per device and therefore signs them; new apps have published bundles since August 2021. The **upload key** is yours: an RSA key of 2048 bits or more in a keystore, used only to sign uploads, and if it is lost or leaked you request an **upload key reset**. The **app signing key** is held by Google, signs what devices install, and cannot be downloaded. API providers such as Google Maps or OAuth need the app signing key's fingerprint, not the upload key's. Without Play App Signing, losing your signing key ends updates. As of October 2026 new apps also get quantum-ready hybrid signing, which means three app signing fingerprints to register.
code
console · 1 line$ keytool -export -rfc -keystore upload-keystore.jks -alias upload -file upload_certificate.pemgo deeper
Recall that you upload an app bundle signed with your upload key and that Google Play signs what users install with a key it holds.
Explain why a bundle forces Play App Signing, what each key proves, and why API providers need the app signing key's fingerprint.
Walk through an upload key reset and the fingerprint mistake that breaks Google sign-in only in Play-installed builds, including the hybrid-signing third key.
Decide who holds the upload keystore, where it is backed up, and whether to let Google generate the app signing key or supply one for distribution elsewhere.
## Why a bundle needs Play App Signing An **Android App Bundle** (`.aab`) is a publishing format: it holds all of an app's compiled code and resources but **defers APK generation and signing to Google Play**. Play builds optimized APKs for each device configuration, so a device downloads only the code and resources it needs. Because Play produces the APKs, Play must sign them, and that is what **Play App Signing** is for. New apps have had to publish with app bundles since **August 2021**; apps created before then may still upload APKs for updates. Enrolling also unlocks Play's app bundle enhancements. If you distribute outside Google Play and want the same key everywhere, either supply your own app signing key when you enroll, or let Google generate it and download a signed universal APK from Play Console. ## The two keys | | **Upload key** | **App signing key** | |---|---|---| | Who holds it | You | Google Play, in Google's Key Management Service | | What it signs | The bundle you upload | The APKs installed on devices | | What it proves | That the upload came from you | That an update comes from the same publisher | | Requirement | RSA, 2048 bits or more, in a `.jks` or `.keystore` | Google-generated keys are RSA 4096; your own must be RSA 2048 or more | | If lost | Request an **upload key reset** | Held by Google, which may keep a backup for disaster recovery | Key points: - You **cannot retrieve a copy** of the app signing key once Play App Signing is set up. - Google recommends that the upload key and the app signing key are **different keys**. - Without Play App Signing, losing your own signing key means you **lose the ability to update the app**; Android installs an update only when it is signed with the same signing key. ## Where each key shows up - **Your build** signs the release bundle with the upload key (setting up the signing configuration is a build topic). - **Play Console** checks the upload key's certificate on every upload. - **Devices** see only the app signing key's signature. - **API providers** that pin an app by certificate, such as Google Maps or OAuth clients, need the **app signing key's** SHA-1 or SHA-256 fingerprint, copied from the Play app signing page; update `assetlinks.json` for Android App Links too. Registering only the upload key's fingerprint is why a feature works in a local release build and fails in the Play-installed one. - **Internal app sharing** uploads may be signed with any key; Play re-signs them with an internal app sharing key and offers that test certificate for download, so providers need it too if testers use those builds. ## Losing or leaking the upload key Because Google holds the app signing key, a lost or compromised upload key does not lock you out: 1. Generate a new upload key and keystore, in Android Studio or with `keytool`. 2. Export its certificate to PEM with `keytool -export -rfc`. 3. In Play Console's Play app signing page, choose **Request upload key reset**, give the reason and upload the `.pem` file. 4. Sign future bundles with the new key. The app signing key, and every fingerprint registered with API providers, stays the same. ## Changing the app signing key You can change the app signing key Play generated only **before a release has rolled out on open testing or production**; after that it is fixed. Changing it earlier still costs something: internal and closed testers who installed the app stop receiving updates until they uninstall and reinstall, and previously uploaded versions must be uploaded again. After launch, the only route is a **key upgrade**, which older Android versions do not enforce at the platform level. ## Quantum-ready hybrid signing (2026) As of October 2026, a **new app** is enrolled by default in **quantum-ready hybrid signing** with Google-generated keys: a classical RSA 4096 key plus a post-quantum **ML-DSA-65** key, verified on Android 17 (API level 37) and higher with APK Signature Scheme v3.2, and a separate classical key for older devices. That makes three app signing keys, so you register **three fingerprints** with each API provider. The upload key is unchanged.
- Your team lost the upload keystore. How do you keep publishing updates?Generate a new upload key, export its certificate with keytool -export -rfc, and in the Play app signing page choose Request upload key reset, giving a reason and uploading the .pem file. The app signing key is unchanged, so users keep receiving updates and the fingerprints registered with API providers stay valid.
- Google sign-in works in a local release build but fails in the version installed from Google Play. Why?The API provider was given the upload key's or debug key's fingerprint, but Play-installed APKs carry the app signing key's signature. Copy the app signing key's SHA-1 or SHA-256 from the Play app signing page and register it; with quantum-ready hybrid signing, register all three keys. Internal app sharing builds are re-signed with their own certificate, which you download separately.
- Until when can you change the app signing key Google Play generated?Only until a release has rolled out on open testing or production. Even before that, internal and closed testers who installed the app must uninstall and reinstall to keep getting updates, and earlier uploads must be uploaded again. After launch, the remaining route is a key upgrade, which older Android versions do not enforce at the platform level.
The upload key is your signature on a passport application: if you lose your pen, you register a new signature. The app signing key is the issuing office's stamp in the passport, and it does not change when you replace your signature, so border checks keep recognizing it.
- Google Play signs releases with your upload key, so register the upload fingerprint.
- Losing the upload key means the app can never be updated again.
- You can download a copy of the app signing key from Play Console.
- An app bundle is a bigger APK that every device downloads whole.
- Using one key as both upload key and app signing key is the recommended setup.
Assumes Play Console as of 2026-10-10, where new apps are enrolled in quantum-ready hybrid signing verified on Android 17 (API 37) and higher.