数据
appid:wx3bec1d60196f34c5
session_key:65Nv+Ti0xAint3nRRIfBgg==
encryptedData:zkaajv9OFRNly2hD54kEAA9m+SvjCIRVgkGvK4h2R2CZFazQvVeJnHXjVWcIqIyJ7be5UGSWti7EH2UKSowwdRQchyKmzkJow5va9Z/TzUd15Wm3ayq/pgEHdY/AdM7HmKoV5TIACuikZgMz6+pfRfY3PLfvnqqd5zefeod8UVFs0jzQqi33Jpa9RaTcx0bezFjxf7Y+8a7naV1qpUUIGdj10iBz/d5S02X2pWPUiPJzsajs/h/jravwOXkYegXTGaZdJDL18clYsBFnT+PMsffVxydXr7hWdHp9kkJ3sVW3N4tdcXIIaYaPF3zaEp8BV13wlKVP+6BxjQTR03afbhfVLWC852qjYh+isJ7zB6eQ8ylK4FBLqaciI0X37qVUBLknYKzlKlh9yryeFjdlLJkevFVdvVll31NXc6/cji8zUvtTNNFWw9esESuuFzcZkw4VtNjLO3JKQ+q84suEZY520d5v1yeJsWl/EZt+5wRJSIGAirD9Zn7293CAufpLWPujZcgY5hM4YVKsHsX/r34IAbKnCfUtxIjlqbaDP4E=
iv:HY8qw9vi87wU+CxX4CXi7g==
错误如下
06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
这个问题现在还在 有解决吗? 老铁们
Error: IllegalBuffer
at WXBizDataCrypt.define.push.WXBizDataCrypt.decryptData
我也同样遇到这个问题,用“微信开发者工具” 模拟运行的小程序没有问题,但是 用手机扫一扫进入之后, 后台就出现解密手机号码失败:
Error: Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
at WXBizDataCrypt.decryptData (/opt/dida-server/src/api/service/WXBizDataCrypt.js:24:11)
at Generator.next (<anonymous>)
at step (/opt/dida-server/app/api/controller/descro.js:1:191)
at /opt/dida-server/app/api/controller/descro.js:1:437
at Promise._execute (/opt/dida-server/node_modules/thinkjs/node_modules/bluebird/js/release/debuggability.js:272:9)
at Promise._resolveFromExecutor (/opt/dida-server/node_modules/thinkjs/node_modules/bluebird/js/release/promise.js:473:18)
at new Promise (/opt/dida-server/node_modules/thinkjs/node_modules/bluebird/js/release/promise.js:77:14)
可是一点都不频繁啊@LIVE2RISE
我发现一个用户不要故意频繁解密,好像就不会错误。
我也遇到这个问题。
出现的概率差不多是 二分之一吧,很频繁 Error: Illegal Buffer
我在开发过程中也遇到了这个问题!十次有1~2次会解密错误。请微信工作人员看一下,我用的是官方提供nodejs方法。