Open huma8848888 opened 4 years ago
P40PRO也发现了此问题,mKeyJsonSignature缺失
经过测试,华为手机都存在此问题,测试的机器包括:mate20,mate30,P40,NOVA系列,都是存在ask上传时没有签名数据的情况,签名数据是从soter SDK中吐出的UploadRequest中获取的mKeyJsonSignature
急急急,官方能解释一下是什么原因吗?后端依赖这个签名数据做校验
没有签名字段参考https://github.com/Tencent/soter/wiki/%E5%AE%89%E5%85%A8%E6%8E%A5%E5%85%A5%E2%80%94%E2%80%94%E5%90%8E%E5%8F%B0#2%E8%AF%81%E4%B9%A6%E9%93%BE%E6%A0%BC%E5%BC%8F
缺失cpuid、count的问题有日志吗
没有签名字段参考https://github.com/Tencent/soter/wiki/%E5%AE%89%E5%85%A8%E6%8E%A5%E5%85%A5%E2%80%94%E2%80%94%E5%90%8E%E5%8F%B0#2%E8%AF%81%E4%B9%A6%E9%93%BE%E6%A0%BC%E5%BC%8F
缺失cpuid、count的问题有日志吗
华为mate30 5G手机 证书链格式ask: {"certs":["-----BEGIN CERTIFICATE-----\nMIIEWzCCA0WgAwIBAgIBATALBgkqhkiG9w0BAQswHTEbMBkGA1UEAxMSSHVhd2Vp\nIEtleVN0b3JlICAgMB4XDTIwMDcwNjAzMjAwOFoXDTMwMDcwNjAzMjAwOFowGjEY\nMBYGA1UEAxMPQSBLZXltYXN0ZXIgS2V5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\nMIIBCgKCAQEAn1t0Phg9jIKsPlL8oAuVMl\/cUMjzDP4nG73BB2pd6A+qLjec6zda\nGJEWdVyqNVCpgcFOqLtCpQaoxEeU122\/ggbrWby4xYczvy1H1H0SYCGHNG5eYFqj\nFOo3BaCEIG5p81BQOZzRakoiPE52k\/Jk220dEKziPkJSYN8kaZ0fzL9QDhAUdxjR\nRmWD+iV6t0DQwQmrubmXcV7DNcQxE5YlkMlWh5ftzgcJN9SvCIzkGxh\/7Vs0jt+a\nrPx99fCvrOcSiMAleA1tRbhpdfoGDHvNEXuxWpKOqez7F5eAiv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id":"","uid":-1,"counter":-1}
这里面没有cpuid,uid和counter
使用mate30手机在soterdemo上测试发现,setRequest回调中的UploadRequest对象中缺失了签名数据 并且在部分mate30手机中发现mKeyJson中缺失cpuid,count等数据,请问官方是怎么回事