已知 keystore 文件(不一定是 keystore 后缀):
keytool -list -v -keystore tianqi_key.key
已知 apk 文件:
- 改为 zip 并解压
- 获取 META-INF 中的 CERT.RSA
- keytool -printcert -file CERT.RSA
在名称为 mykeystore 的密码库生成别名为 mykey、mykey2 的条目:
keytool -genkey -alias mykey -keystore mykeystore
keytool -genkey -alias mykey2 -keystore mykeystore
一个条目的内容(-list 展示的内容):
参考:
https://blog.csdn.net/dotuian/article/details/51722300
https://blog.csdn.net/lovelovelovelovelo/article/details/76970877?locationNum=10&fps=1