简体   繁体   English

不同的facebook应用程序使用相同的密钥哈希

[英]Different facebook apps are using the same key hash

The Android developer documentation contains the following advise on Signing an application: Android开发人员文档包含以下有关签署应用程序的建议:

"In general, the recommended strategy for all developers is to sign all of your applications with the same certificate, throughout the expected lifespan of your applications." “一般而言,所有开发人员的推荐策略是在应用程序的整个预期使用期内使用相同的证书对所有应用程序进行签名。”

At my company, We generally follow this advise, but regarding linked facebook apps I have some concerns. 在我的公司,我们通常遵循这个建议,但对于链接的Facebook应用程序,我有一些担忧。 As far as I know, if you want to link a native android app and a facebook app together, you have to generate a key hash based on the signature used for android application release. 据我所知,如果你想将本机Android应用程序和facebook应用程序链接在一起,你必须根据用于Android应用程序发布的签名生成一个密钥哈希。 My question is that, is it correct to use the same signature for linking 2 different facebook applications? 我的问题是,使用相同的签名链接2个不同的Facebook应用程序是否正确? For example: 'A' android app is linked with 'A' facebook app, and 'B' android app is linked with 'B' facebook app. 例如:“A”Android应用程序与“A”脸书应用程序链接,“B”Android应用程序与“B”脸书应用程序链接。 Both 'A' and 'B' android apps are signed with the same certificate. “A”和“B”Android应用程序都使用相同的证书进行签名。 Is the generated key hash used on the facebook side as a primary key or as just another level of security check? 在facebook端使用生成的密钥哈希是主键还是另一级别的安全检查?

It's fine to use the same keys. 使用相同的键很好。 They are used to verify that the application is who it says it is. 它们用于验证应用程序是否是它所说的。 Facebook uses the package name to call into your apps via deep linking. Facebook使用包名称通过深层链接调用您的应用程序。

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

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