Tencent / soter

A secure and quick biometric authentication standard and platform in Android held by Tencent.
Other
1.93k stars 205 forks source link

huawei P30 Lite 使用人脸支付 提示:face_error_hw_not_available #78

Open PineyZhang opened 4 years ago

PineyZhang commented 4 years ago

以下是开通人脸支付的日志: 2020-09-07 15:02:22.965 1934-1934/com.tencent.soter.demo D/SoterDemo.SoterDemoUI: soterdemo: start authentication. dismiss loading 2020-09-07 15:02:55.235 1934-1934/com.tencent.soter.demo I/SoterDemo.SoterDemoUI: soterdemo: prepare result: total: SoterCoreResult{errCode=0, errMsg='ok'}, extData: SoterPubKeyModel{counter=7, uid=10211, cpu_id='HUAWEI_HWMAR_726b15a8-6e32-4b42-ad0e-0f417ec9981f-d2d5910c', pub_key_in_x509='-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp4l6QwjhvqKinhf3HFx8BAUWtRvaFsI3CFBxym0z2kVg6CKDe61zN31R3m4qc6J67+DxQ5Q++QI+rQyvYwPRZMFOEFtvqeS+OECMj7gs4K79Z2N8cGSG26Jo91UeFY+ejQAelfl/WFn4pPQA2m5mDTsXvye0vHV1FrKcz9s78rvLqfUh2bjSa2VVUtVfUrVvl5fK+p+Xh77UoPLZYvIDZ0R90qpKmL5+wj1XG2y9hx3A0Q/9kTL+KoKh7Mc71NXv7w8+s21CV9g2jk69UjoEJdqvY2sCQ/AL316r/xLgLkmYKzTqMCD4Uc+wfVWVmrkOoiI82NeZ99B7dVfacfTZIQIDAQAB -----END PUBLIC KEY-----', rawJson='{"pub_key":"-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp4l6QwjhvqKinhf3HFx8BAUWtRvaFsI3CFBxym0z2kVg6CKDe61zN31R3m4qc6J67+DxQ5Q++QI+rQyvYwPRZMFOEFtvqeS+OECMj7gs4K79Z2N8cGSG26Jo91UeFY+ejQAelfl/WFn4pPQA2m5mDTsXvye0vHV1FrKcz9s78rvLqfUh2bjSa2VVUtVfUrVvl5fK+p+Xh77UoPLZYvIDZ0R90qpKmL5+wj1XG2y9hx3A0Q/9kTL+KoKh7Mc71NXv7w8+s21CV9g2jk69UjoEJdqvY2sCQ/AL316r/xLgLkmYKzTqMCD4Uc+wfVWVmrkOoiI82NeZ99B7dVfacfTZIQIDAQAB -----END PUBLIC KEY-----","cpu_id":"HUAWEI_HWMAR_726b15a8-6e32-4b42-ad0e-0f417ec9981f-d2d5910c","counter":7,"uid":"10211","rsa_pss_saltlen":32}', signature='paRBnOPcht0By7v021cPMoLyh5nSaRkKF/QuKW6ODkJTE0EfpC3ZKhKSvuB1wN3SM321NFWyvjALZaF+7iKY0PGQCxV+sA8+XobwBvrqt4JxWZrMv0xaXKa5CvsTpgGPbp56QwUF4jyNrWZU+KHXKSdGoqOPFWHWHON+3rzJnkaBqKxDGid8G1abmwAFB7GOSyZ6j6mvxrgXOSa76uhPIJIYwP+YtSLBKyqf04L01RxOKTM4p/9VYbXz5IQXbX3coEZz89DoIQA/3IJUBUDBVOn9xc01c4E7Q4vRFrRP8szvQ379Pi4bNcX/H2smnoM7jL9y+5/ztuQl1hJHTlFn/w=='}, auth key result: SoterPubKeyModel{counter=7, uid=10211, cpu_id='HUAWEI_HWMAR_726b15a8-6e32-4b42-ad0e-0f417ec9981f-d2d5910c', pub_key_in_x509='-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp4l6QwjhvqKinhf3HFx8BAUWtRvaFsI3CFBxym0z2kVg6CKDe61zN31R3m4qc6J67+DxQ5Q++QI+rQyvYwPRZMFOEFtvqeS+OECMj7gs4K79Z2N8cGSG26Jo91UeFY+ejQAelfl/WFn4pPQA2m5mDTsXvye0vHV1FrKcz9s78rvLqfUh2bjSa2VVUtVfUrVvl5fK+p+Xh77UoPLZYvIDZ0R90qpKmL5+wj1XG2y9hx3A0Q/9kTL+KoKh7Mc71NXv7w8+s21CV9g2jk69UjoEJdqvY2sCQ/AL316r/xLgLkmYKzTqMCD4Uc+wfVWVmrkOoiI82NeZ99B7dVfacfTZIQIDAQAB -----END PUBLIC KEY-----', rawJson='{"pub_key":"-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAp4l6QwjhvqKinhf3HFx8BAUWtRvaFsI3CFBxym0z2kVg6CKDe61zN31R3m4qc6J67+DxQ5Q++QI+rQyvYwPRZMFOEFtvqeS+OECMj7gs4K79Z2N8cGSG26Jo91UeFY+ejQAelfl/WFn4pPQA2m5mDTsXvye0vHV1FrKcz9s78rvLqfUh2bjSa2VVUtVfUrVvl5fK+p+Xh77UoPLZYvIDZ0R90qpKmL5+wj1XG2y9hx3A0Q/9kTL+KoKh7Mc71NXv7w8+s21CV9g2jk69UjoEJdqvY2sCQ/AL316r/xLgLkmYKzTqMCD4Uc+wfVWVmrkOoiI82NeZ99B7dVfacfTZIQIDAQAB -----END PUBLIC KEY-----","cpu_id":"HUAWEI_HWMAR_726b15a8-6e32-4b42-ad0e-0f417ec9981f-d2d5910c","counter":7,"uid":"10211","rsa_pss_saltlen":32}', signature='paRBnOPcht0By7v021cPMoLyh5nSaRkKF/QuKW6ODkJTE0EfpC3ZKhKSvuB1wN3SM321NFWyvjALZaF+7iKY0PGQCxV+sA8+XobwBvrqt4JxWZrMv0xaXKa5CvsTpgGPbp56QwUF4jyNrWZU+KHXKSdGoqOPFWHWHON+3rzJnkaBqKxDGid8G1abmwAFB7GOSyZ6j6mvxrgXOSa76uhPIJIYwP+YtSLBKyqf04L01RxOKTM4p/9VYbXz5IQXbX3coEZz89DoIQA/3IJUBUDBVOn9xc01c4E7Q4vRFrRP8szvQ379Pi4bNcX/H2smnoM7jL9y+5/ztuQl1hJHTlFn/w=='} 2020-09-07 15:02:55.236 1934-1934/com.tencent.soter.demo I/SoterDemo.SoterDemoUI: soterdemo: start authentication: title: 开通人脸支付 2020-09-07 15:02:55.238 1934-1934/com.tencent.soter.demo D/SoterDemo.SoterDemoUI: soterdemo: already showing. change title only 2020-09-07 15:02:55.332 1934-1993/com.tencent.soter.demo I/SoterDemo.RemoteBase: soterdemo: simulate execute 2020-09-07 15:02:55.332 1934-1993/com.tencent.soter.demo I/SoterDemo.RemoteBase: soterdemo: url is: http://simulate.soter_demo/get_challenge, request: {} 2020-09-07 15:02:56.476 1934-1934/com.tencent.soter.demo W/SoterDemo.SoterDemoUI: soterdemo: onAuthenticationError: 1, face_error_hw_not_available 2020-09-07 15:02:56.504 1934-1934/com.tencent.soter.demo I/SoterDemo.SoterDemoUI: soterdemo: open finished: result: SoterCoreResult{errCode=21, errMsg='face_error_hw_not_available'}, signature data is: null 2020-09-07 15:02:56.565 1934-1934/com.tencent.soter.demo D/SoterDemo.SoterDemoUI: soterdemo: start authentication. dismiss loading