简体   繁体   English

从私钥生成密钥库

[英]generate a keystore from private key

I lost my keystore after updating Android Studio (I searched everywhere on my machine.)更新 Android Studio 后我丢失了密钥库(我在我的机器上到处搜索。)

Now I want to avoid losing days making a request for a new Key to Google's support.现在,我想避免浪费时间请求新的 Google 支持密钥。

I found that I still have the initial private_key.pepk, and distribution/upload certificates (.der) as well as the keystore passwords and Alias.我发现我仍然拥有初始的 private_key.pepk、分发/上传证书 (.der) 以及密钥库密码和别名。

Is it possible to regenerate a valid keystore from these information, to sign an APK?是否可以从这些信息中重新生成有效的密钥库来签署 APK?

Are you using Android Studio?您在使用 Android Studio 吗? If so, then you should be able to generate a new keystore from there automatically.如果是这样,那么您应该能够从那里自动生成一个新的密钥库。 I believe this won't affect your previous apps if you use a new keystore.如果您使用新的密钥库,我相信这不会影响您以前的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM