gpt4 book ai didi

java - Keytool 给出错误的 android apk 哈希码

转载 作者:行者123 更新时间:2023-12-01 05:06:14 25 4
gpt4 key购买 nike

我正在尝试使用 keytool 获取 apk 哈希码。当我的别名中有空格时,这个工具似乎给了我错误的哈希码。该命令如下所示:

C:\OpenSSL\Java\jre6\bin>keytool -export -alias "我的别名"-keystore C:
\key\keystore | C:\OpenSSL\bin\openssl sha1 -二进制 | C:\OpenSSL\bin\openssl enc
-a -e

我正确地传递了这个参数吗?

最简单的解决方案是更改别名,但不幸的是应用程序已经在 Google Play 中,我无法触及它的 keystore 。

感谢您的建议!

最佳答案

你怎么知道哈希值是错误的?别名与此无关,它只是指向一个证书。导出到文件并检查每个步骤,而不是使用管道进行确认。

顺便说一句,这将对哈希的二进制值进行 Base64 编码。您确定这就是您所需要的吗?

关于java - Keytool 给出错误的 android apk 哈希码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12626253/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com