Skip to content

Commit a6737e6

Browse files
authored
fix: fix breaking change about RSA_PKCS1_PADDING (#650)
Node.JS 安全性修复导致 RSA_PKCS1_PADDING 不可用,会报出以下错误: > RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809。 参考链接:https://www.eggjs.org/zh-CN/core/security#revert-cve
1 parent 2ec6bd9 commit a6737e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
"url": "[email protected]:cnpm/cnpmcore.git"
6161
},
6262
"egg": {
63+
"revert": [
64+
"CVE-2023-46809"
65+
],
6366
"typescript": true
6467
},
6568
"keywords": [
@@ -90,7 +93,7 @@
9093
"egg-cors": "^3.0.0",
9194
"egg-errors": "^2.3.0",
9295
"egg-redis": "^2.4.0",
93-
"egg-scripts": "^2.15.2",
96+
"egg-scripts": "^3.0.0",
9497
"egg-status": "^1.0.0",
9598
"egg-tracer": "^1.1.0",
9699
"egg-typebox-validate": "^2.0.0",

0 commit comments

Comments
 (0)