Lost keystore alias but have file and password used for alias(丢失密钥库别名,但有用于别名的文件和密码)
问题描述
最近我为我的密钥库添加了一个新别名来签署我的应用程序.
recently I added a new alias to my keystore to sign my app.
现在我丢失了带有别名的新生成文件,但请记住密码和别名,并拥有一个较旧的文件副本.有没有办法使用这些东西重新创建别名?
Now I lost the new generated file with the alias, but remember the password and the alias name and have an older copy the file. Is there a way to recreate the alias using this things?
推荐答案
您可以使用以下命令列出您的密钥库的内容:
You can list the contents of your keystore with the command:
keytool -list -keystore <name of keystore file>
为此,您需要提供密钥库密码(不是别名密码).这将告诉您文件中的别名,这些别名是自包含的,允许您签名.如果您愿意,您还可以使用其他选项/工具提取密钥.
To do this, you will need to provide the keystore password (not the alias password). This will tell you the aliases in the file, which are self-contained, allowing you to sign. If you wish, you could also extract keys using other options / tools.
这篇关于丢失密钥库别名,但有用于别名的文件和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:丢失密钥库别名,但有用于别名的文件和密码
基础教程推荐
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
