wafer2-node-sdk icon indicating copy to clipboard operation
wafer2-node-sdk copied to clipboard

解密数据发生错误

Open tonychen0716 opened this issue 7 years ago • 3 comments
trafficstars

client端没有使用wafer2-client-sdk,自己组织的请求,发送到服务器端。有时会在解密数据时发生错误。 错误如下。烦请帮忙排查,谢谢。

错误信息: ERR_IN_DECRYPT_DATA Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

报错代码行: https://github.com/tencentyun/wafer2-node-sdk/blob/d2e486e574584b989183aa9c15e277805e5612c7/lib/auth/index.js#L43

tonychen0716 avatar May 13 '18 14:05 tonychen0716

补充:有时成功,基本一次成功,一次失败

tonychen0716 avatar May 13 '18 14:05 tonychen0716

同问。在开发工具中使用模拟器没有问题,真机远程调试使用开发工具的 storage也没有问题,但真机远程调试使用手机自己的 storage 或者发布体验版后真机体验就有此问题。十分有规律,第一次失败,再点登录按钮则成功

zhaokun78 avatar May 22 '18 15:05 zhaokun78

没人管吗?

zhaokun78 avatar May 23 '18 15:05 zhaokun78