security: 支付密钥文件 git 拉黑 (double insurance)
- .gitignore 新增 密钥文件_git拉黑.txt / pay_secrets.php / *.paykey - 防止彩虹易支付 RSA 私钥/公钥/商户ID 误提交到 git - 部署脚本 deploy_php_only.py 同步排除该文件防止上传公网 web 根目录
This commit is contained in:
@@ -16,3 +16,10 @@ self_update.php
|
||||
version_check.php
|
||||
test_sync.php
|
||||
db/debug_ip_v2.php
|
||||
|
||||
# ===== 支付密钥 - 严禁提交 (double insurance) =====
|
||||
# 彩虹易支付 RSA 私钥/公钥/商户ID 全部在此文件,一旦进 git 或进公网 web 根目录即泄露
|
||||
密钥文件_git拉黑.txt
|
||||
pay_secrets.php
|
||||
*.paykey
|
||||
|
||||
|
||||
Reference in New Issue
Block a user