如果签名 key 过期,现有的 apk 会拒绝安装,还是仅仅意味着新应用无法使用该 key 进行签名?
我们建议使用 25 年以上到期的 key ,Google Play 要求至少在 2033 年 10 月 22 日到期!不过,有些人不妨renew他们的 key 远 比出于安全原因(摩尔定律、破解算法等)更频繁。
如果 apk 的 key 已过期,是否有任何安装方法(无需依赖开发人员重新发布)?
最佳答案
If a signing key expires, do existing apks refuse to install, or does it just mean that new apps can't be signed with that key?
jarsigner
将拒绝使用过期的 key ,使用旧 key 签名的 apk 将在安装时被 Android 拒绝,但已安装的应用程序将继续正常运行。
https://developer.android.com/guide/publishing/app-signing.html
If an apk's key has expired, is there any way of installing it (without relying on the developer to re-release)?
是的,apk 可以是resigned with your own certificate .
关于Android - 签名 key 过期时会发生什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10566884/