使用vk框架 请求接口加secretType参数 之前正常使用 昨天下午加密接口全部报错 不加secretType的正常使用
url: 'client/kh.config.syncPhoneParam',
secretType:'request',
data: {
cid: cid,
mogu_devideid: mogu_devideid,
net: net,
battery: battery,
devideInfo: devideInfo
} ```
报错信息
2024-05-13 21:48:48.513 [router][USER][ERROR][1a61ad34-09fa-47c1-a43b-49699b389887] execute: 9bac4d86-fb69-4ae2-852d-d3a127d74e38,TypeError: RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809 at Object.privateDecrypt (node:internal/crypto/cipher:80:12) at app.decryptKey (/var/task/code/index.js:2:21331) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async app.decryptEvent (/var/task/code/index.js:2:22997) at async app.getEvent (/var/task/code/index.js:2:15749) at async z (/var/task/code/index.js:2:24281) at async ee (/var/task/code/index.js:2:25518) at async FetchEventPearl2.handleRequest (/var/task/index.js:62051:17) at async Container.dispatchHttpRequest (/var/task/index.js:68014:17) at async Container.dispatch (/var/task/index.js:68010:95) { code: 'ERR_INVALID_ARG_VALUE' }
2024-05-13 21:48:48.513 [router][USER][ERROR][1a61ad34-09fa-47c1-a43b-49699b389887] execute: 9bac4d86-fb69-4ae2-852d-d3a127d74e38,{ errCode: 'ERR_INVALID_ARG_VALUE', errMsg: 'RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809', code: 'ERR_INVALID_ARG_VALUE', message: 'RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809', errSubject: 'uni-secure-network', cause: undefined }
2 个回复
最佳回复
DCloud
HBuilderX 4.25.2024081703-alpha 已修复。
码界封杀阿凯 (作者) - are you ok
纠正一下 不加secretType的也请求不到