Skip to content

Commit

Permalink
fix: fix breaking change about RSA_PKCS1_PADDING (#650)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hljwkwm authored Feb 20, 2024
1 parent 2ec6bd9 commit a6737e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
"url": "git@github.com:cnpm/cnpmcore.git"
},
"egg": {
"revert": [
"CVE-2023-46809"
],
"typescript": true
},
"keywords": [
Expand Down Expand Up @@ -90,7 +93,7 @@
"egg-cors": "^3.0.0",
"egg-errors": "^2.3.0",
"egg-redis": "^2.4.0",
"egg-scripts": "^2.15.2",
"egg-scripts": "^3.0.0",
"egg-status": "^1.0.0",
"egg-tracer": "^1.1.0",
"egg-typebox-validate": "^2.0.0",
Expand Down

0 comments on commit a6737e6

Please sign in to comment.