-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为什么不支持华为的证书链格式校验,是soter本身的问题吗? #70
Comments
具体哪一步验不过,可以试下如果微信没问题的话,这台设备应该就是正常的 |
我也遇到同样的问题,没有官方支持,数据如下: 华为手机-证书链模式 AuthKey: rawJson: {"pub_key":"-----BEGIN PUBLIC KEY----- biometric: rawJson: {"bo_t":"1","raw":"I'm a demo challenge string","fid":"3871513443","counter":829,"tee_n":"hwteeos","tee_v":"version_1.0","fp_n":"fpc_goodix","fp_v":"goodix_1.0","rsa_pss_saltlen":32,"cpu_id":"HUAWEI_HWCET_2f987140-2996-43c2-be1c-f08f837c1fec-f35a237a","uid":"10694","fc_n":"hwbioalgo","fc_v":"bioalgo_1.0"} |
请问解决了吗,我也遇到同样的问题 |
我也遇到这个问题,已经解决。问题出在我测试时,将签名原文【auth_key_json.txt】在从文本编辑器拷贝时,因为ide的原因,保存时修改了原文的换行符。在安卓的原文【auth_key_json.txt】中,换行符为“\n”。但是在我测试时,在ide中,保存的原文的【换行符】为【\r\n】了。 解决办法:可临时在后端验证时,调整示例代码如下,将换行符修正下(正式环境因为是网络传输,不会有此问题) |
在接入soter sdk的过程中发现好多使用了证书链格式的华为设备在最终验证阶段都校验不通过,是soter本身的问题还是华为不支持soter
The text was updated successfully, but these errors were encountered: