个别用户生物认证识别不通过
发布于 6 年前 作者 dyao 3926 次浏览 来自 官方Issues

wx.startSoterAuthentication 返回指纹结果:{“type”:2,“jsonString”:"{\“raw\”:\“cdfae99f6c15bfb30db5d0487669f38b\”,\“fid\”:\“749f791616799f74c5675cf26dbb33f338047646994433cc94bb3a3d195c7e47\u0000\”,\“counter\”:421,\“tee_n\”:\“uT_TEE\”,\“tee_v\”:\“2.8.0\”,\“fp_n\”:\“Fingerprint Cards\”,\“fp_v\”:\“SW28.3\”,\“cpu_id\”:\“090000003637383557e7560d3b4fd453773e644bd247653bb14eba01241d5544\”,\“uid\”:\“10155\”}",“jsonSignature”:“LJ1x9Eyli6wqXRms0A9wh8v9XBKLOQzjGPaciCDap5P9y+WIs5C7Bc52FGFjcmEhOmFhZsch/JBKZ3bOl2UyzdpTh1SrtKH+rRbuAxMsi5mBkW/z7pdxYH1HYOcxqwd60yJ069aNKXciP5B6fQNUM8N7/r6CM0nKRhFPaXQoJ7QDdna3/pO0C/kMwHzy3kcQdU2qS/xNJhYMNTGt3OAWw31LRVG56bJ4QvoPm6fVVWmjUXwqqNhZyeLKnP+eV2PV4PCDNt0DpG55K7MWJ1NGU6irv0Fit6xK4IRug3DYeFm7PNSkl0spL2pk1OOjOw8g1aVmnr8btwRzSnX2DqNuRA==”,“hideLoading”:true}

openapi.soter.verifySignature 提交参数:{“openid”:“ogoL40i1N_r4hVA57FpQm8-j2JZg”,“jsonString”:"{\“raw\”:\“cdfae99f6c15bfb30db5d0487669f38b\”,\“fid\”:\“749f791616799f74c5675cf26dbb33f338047646994433cc94bb3a3d195c7e47\u0000\”,\“counter\”:421,\“tee_n\”:\“uT_TEE\”,\“tee_v\”:\“2.8.0\”,\“fp_n\”:\“Fingerprint Cards\”,\“fp_v\”:\“SW28.3\”,\“cpu_id\”:\“090000003637383557e7560d3b4fd453773e644bd247653bb14eba01241d5544\”,\“uid\”:\“10155\”}",“jsonSignature”:“LJ1x9Eyli6wqXRms0A9wh8v9XBKLOQzjGPaciCDap5P9y+WIs5C7Bc52FGFjcmEhOmFhZsch\/JBKZ3bOl2UyzdpTh1SrtKH+rRbuAxMsi5mBkW\/z7pdxYH1HYOcxqwd60yJ069aNKXciP5B6fQNUM8N7\/r6CM0nKRhFPaXQoJ7QDdna3\/pO0C\/kMwHzy3kcQdU2qS\/xNJhYMNTGt3OAWw31LRVG56bJ4QvoPm6fVVWmjUXwqqNhZyeLKnP+eV2PV4PCDNt0DpG55K7MWJ1NGU6irv0Fit6xK4IRug3DYeFm7PNSkl0spL2pk1OOjOw8g1aVmnr8btwRzSnX2DqNuRA==”}

返回结果“is_ok”:false


wx.startSoterAuthentication 接口返回的fid字段中有一个 unicode码(\u0000)。将wx.startSoterAuthentication 反正参数未做处理直接提交 openapi.soter.verifySignature  还是不通过

回到顶部