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 还是不通过
{"type":2,"jsonString":"{\"raw\":\"3955af5995690f673ad59bdef14af0df\",\"fid\":\"1f3a877d7d873a1f67349935790b2715e6bda4765fcac513f727f764f8509337\u0000\",\"counter\":367,\"tee_n\":\"uT_TEE\",\"tee_v\":\"2.8.0\",\"fp_n\":\"Fingerprint Cards\",\"fp_v\":\"SW28.3\",\"cpu_id\":\"090000003637383577bf25112f0bb64db1a4c2a28daa2832d93722777012e34d\",\"uid\":\"10157\"}","jsonSignature":"jPNrnG7+bgPXBQ/xtiuhhOSOQ2U7emVtCrH9mZf8yIeKnVrnJPkX7Z+XuWv4vYkhZGACK2w/pUvQmz48sqxEiXZdvHsE39gSafs876pkECEzQFaX9Suebs8synYTD7pypVye5Nys5i+5UDwoc+5XjIUUv8z7/oiC0vuwIwnW8A3tWUoPnetF5fH4vjmYSEooH0lBDgPqhcDqShMfzwL3W8oGSrrVwx7U24kPMrlSX5dkXfV/UbF/ANnG8ApCOs+GZfDKR6QdQs00wvRIjPoq/uFWcLMkrzY0ETC8N8Lhio6j0v0iIq+WDx1JqqrWRX5kTPcaFxmXL365v6T9WRv9ew==","hideLoading":true,"sign":"aa5259ff748e102cd71ae2328aaea2b8"}
fid 后面 有 \u0000 空格