limkim0530 / czdb-search-node

A javascript library for searching IP address-related data in a CZDB database. 一个纯真离线社区版 IP 地址库czdb新格式的数据查询库
MIT License
1 stars 0 forks source link

报错 digital envelope routines:EVP_DecryptFinal_ex:wrong final block length #2

Open FastLight126 opened 2 months ago

FastLight126 commented 2 months ago

Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length at Decipheriv.final (internal/crypto/cipher.js:174:29) at Function.decrypt (D:\runtime\service\node_modules\czdb\lib\index.js:128:22) at Function.decrypt (D:\runtime\service\node_modules\czdb\lib\index.js:213:47) at new DbSearcher (D:\runtime\service\node_modules\czdb\lib\index.js:385:48) at _callee4$ (D:/runtime/service/other/cz88.js:101:15) at tryCatch (D:\runtime\service\node_modules\regenerator-runtime\runtime.js:62:40) at Generator.invoke [as _invoke] (D:\runtime\service\node_modules\regenerator-runtime\runtime.js:296:22) at Generator.prototype. [as next] (D:\runtime\service\node_modules\regenerator-runtime\runtime.js:114:21) at step (D:\runtime\service\other\cz88.js:264:191) at D:\runtime\service\other\cz88.js:264:361 { library: 'digital envelope routines', function: 'EVP_DecryptFinal_ex', reason: 'wrong final block length', code: 'ERR_OSSL_EVP_WRONG_FINAL_BLOCK_LENGTH' }

limkim0530 commented 2 months ago

解密文件的时候报错了,你的数据文件和密钥是没问的题的吗,这边没法复现,可否提供下文件?