Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change signing key, keep packagename

I cant seem to find the answer to this: Is it possible to change signing-key but still use the same packagename? So that the people who bought my app can "re-download" the app with the new key, from the same Google Play page.

The background to this is that I want to extend my signing key to more then 25 years I have set now. Maybe this is enough but I dont want to be put in a situation where the key expires.

If this is not possible, could I remove my current Google Play app and create a new one with the same packagename and another key?

like image 675
aelveborn Avatar asked Sep 28 '12 14:09

aelveborn


People also ask

Can I change app signing key?

If you lose your original app signing key, you can generate a new upload key and register it with Google to continue updating your app. If you generated a new upload key: Use your new upload key to sign app bundles before you upload them to Google Play. Google uses the upload key to verify your identity.

How do I change my upload key certificate?

To Upload new Signing Key, you must have Java Sdk installed and Configured, if not, then configure it first After that Follow the Below Steps. Step 1:- Go to your Google Play Console and Select your App. Step 2:- Go to Release Section => Setup => App integrity and Click on Request key upgrade.

What happens if I lost my app signing certificate?

Don't forget to include the app's package name and describe the issue by mentioning that you lost the app's signing key. Then, in a short time they'll send you an instruction email. For me it only took 19 hours to get this email.

Can I change keystore?

If you lose your keystore or think it may be compromised, Google Play App Signing makes it possible to request a reset to your upload key. If you're not enrolled in Google Play App Signing and lose your keystore, you'll need to publish a new app with a new package name.


2 Answers

No. If you have an APK signed with a signature and containing a package name installed on a device, any subsequent apk with the same package name must have the same signature.

like image 73
njzk2 Avatar answered Oct 15 '22 04:10

njzk2


As of 2019

Yes, you can do this in some cases.

If you've enabled Manage Signing Key by Google then your signing key will be managed by Google and you can add an additional Upload Key which you can change/update if necessary. Google recommends this procedure and this procedure is available for new apps and already published apps.

If you are managing signing key by yourself you can still upgrade the signing key only once in the whole lifetime of the app. Users with the previous key will be able to use and update the app with the legacy signing key and the new users will be enabled with the upgraded key. Here is what quoted in the reference:

In some circumstances, you can request an app signing key upgrade. Your new key is used to sign new installs and app updates. Your legacy app signing key is still used to sign updates for users who installed your app before the key upgrade.

Each app can only have its app signing key upgraded once in its lifetime. In the unlikely event that you have multiple apps using the same signing key specifically to run in the same process, you won’t be able to use key upgrade for those apps.

Details is explained here

like image 34
Mostafiz Rahman Avatar answered Oct 15 '22 04:10

Mostafiz Rahman