找到问题的关键哈希的签名的应用程序应用程序、关键、问题

由网友(壹个橡祢大爷壹漾锝钕人)分享简介:我已经签我的应用程序,并远销到我的桌面上的文件夹名为该文件夹中的程序是我的应用程序本身和密钥存储。我怎么觉得,我可以复制到facebook的开发者页面的密钥散列。我已经安装了OpenSSL的,但不能似乎生成密钥散列香港专业教育学院尝试在堆栈上,没有许多其他线程都似乎帮助,谢谢詹姆斯解决方案 您应该知道是你的密钥库文...

我已经签我的应用程序,并远销到我的桌面上的文件夹名为该文件夹中的程序是我的应用程序本身和密钥存储。我怎么觉得,我可以复制到facebook的开发者页面的密钥散列。我已经安装了OpenSSL的,但不能似乎生成密钥散列香港专业教育学院尝试在堆栈上,没有许多其他线程都似乎帮助,谢谢

詹姆斯

解决方案 您应该知道是你的密钥库文件。对我来说,是 C: Users 用户Selvin 桌面 selvin.kp 您应该知道密钥库的别名。对我来说,是 selvin 您应该知道在keytool路径。 C: Program Files文件的Java jdk1.6.0_22 斌 keytool.exe的 您应该知道路径的OpenSSL。 C:的OpenSSL的Win32 BIN openssl.exe 您应该知道密码,密钥库中。对我来说,是 * 嘿嘿

那么,你应该叫:

  

C: Program Files文件的Java jdk1.6.0_22 斌 keytool.exe的-exportcert -alias selvin -keystore C:用户 selvin 桌面 selvin.kp | C:的OpenSSL的Win32 BIN OpenSSL的SHA1 -binary | C:的OpenSSL的Win32 BIN OpenSSL的的base64

更换为合适的人我的路径和别名。

这时你应该会看到:

  

输入密钥库密码:

输入您的密码,你应该得到这样的事情: NfhDlIH7XWJzUZRjL + pZySrMX1Q =

EDITED : NfgDlIG7XWJzUZRUL + bZySrMX1Q = < - 是一个糟糕的哈希值。或者你有这么幸运,你的钥匙做出同样的碰撞

  

错误:keytool的错误:java.lang.Exception的:别名不存在

IPFS教程 分散你的网络

如果哈希不工作:

首先,通话

  

C: Program Files文件的Java jdk1.6.0_22 斌 keytool.exe的-exportcert -alias selvin -keystore C:用户 selvin 桌面 selvin.kp

键入密码和读取错误

如果你不记得你的别名的keytool错误:java.lang.Exception的:别名< selvinn>不存在我用selvinn显示错误。

有关所有输入/别名的列表:

  

C: Program Files文件的Java jdk1.6.0_22 斌 keytool.exe的-list -keystore C:用户 selvin 桌面 selvin.kp

第二次修改

I have signed my app and exported it to a folder on my desktop called app in this folder is my app itself and the keystore. How do i find the key hash that i can copy into the facebook developers page. i have openssl installed but cant seem to generate the key hash ive tried many other threads on stack and none have seemed to help, thanks

James

解决方案

You should know where is your keystore file. For me is C:UsersSelvinDesktopselvin.kp You should know your alias in keystore. For me is selvin You should know path to keytool. C:Program FilesJavajdk1.6.0_22binkeytool.exe You should know path to openssl. C:OpenSSL-Win32binopenssl.exe You should know password to keystore. For me is * hehe

Then, you should call:

C:Program FilesJavajdk1.6.0_22binkeytool.exe" -exportcert -alias selvin -keystore c:usersselvindesktopselvin.kp | C:OpenSSL-Win32binopenssl sha1 -binary | C:OpenSSL-Win32binopenssl base64

Replace my path and alias with proper ones.

Then you should see:

Enter keystore password:

Enter your password and you should get something like this: NfhDlIH7XWJzUZRjL+pZySrMX1Q=

EDITED: NfgDlIG7XWJzUZRUL+bZySrMX1Q= <- is a bad hash. Or you got so lucky that your key made the same collision as

error:keytool error: java.lang.Exception: Alias does not exist

If hash not working:

First, call

C:Program FilesJavajdk1.6.0_22binkeytool.exe" -exportcert -alias selvin -keystore c:usersselvindesktopselvin.kp

Type password and read the error

If you don't remember your alias keytool error: java.lang.Exception: Alias <selvinn> does not exist I used selvinn to show error.

For a list of all your entries/aliases:

C:Program FilesJavajdk1.6.0_22binkeytool.exe -list -keystore c:usersselvindesktopselvin.kp

second edit

阅读全文

相关推荐

最新文章