当第一个Android密钥库证书过期时会发生什么? [英] What is going to happen when the first Android keystore certificates expire?

查看:76
本文介绍了当第一个Android密钥库证书过期时会发生什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,在Eclipse中创建密钥库时, 10年是默认设置.我认为大约5年前,Android开发已经成为一种主流,因此,我希望在5年内,很多应用在Play商店中都是不可更新的.

As far as I remember, 10 years was the default setting when creating a keystore in Eclipse. I think, about 5 years ago, Android development got kind of mainstream so I expect a lot of apps to be un-updatable in the Play Store in 5 years.

到目前为止,我还没有找到有关如何延长"证书寿命的解决方案.有没有人? Google会实施一种使用新证书来设置您的应用程序的方法吗?当然,我的情况并不会影响太多的应用程序,但是我认为在3-5年内,将会有相当数量的SO问题.

So far, I haven't found a solution on how to "prolong" a certificate's lifetime. Is there one? Will Google implement a way to set up your app with a new certificate? Of course, my scenario doesn't affect TOO many apps but I think there will be a considerable amount of SO questions on just that in 3-5 years.

有什么想法吗?

推荐答案

Google Play一直要求证书的有效期至少为25年.

Google Play has always required a certificate to be valid for at least 25 years.

从minSdkVersion 28开始,可以更改证书.因此,应用程序开发人员可能希望在其证书过期之前约一年放弃对较早版本的支持.然后,在旧证书生命周期的剩余时间内,将使用新旧证书对更新进行签名,然后再使用新证书进行签名.

Starting with minSdkVersion 28, it's possible to change certificates. So, app developers will probably want to drop support for older versions about a year before their certificates expire. Then, for the remainder of the old certificate's lifetime, updates will be signed with both old and new certificates, and then only with the new certificate after that.

这篇关于当第一个Android密钥库证书过期时会发生什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆