- 新增 internal/library/crypto:RSA-OAEP(SHA-256)+AES-256-GCM 混合解密, 私钥按 配置PEM > data/crypto/rsa_private.pem > 自动生成 三级来源,公钥 SPKI 输出 - 公开接口 POST /system/auth/public-key;LoginReq 支持 encryptedKey/encryptedData - AdminCreate/AdminResetPwd 密码字段支持加密传输(allowPlain 仅开发联调) - 配置 encrypt.privateKey/allowPlain;data/ 加入 gitignore 防止私钥入库 |
||
|---|---|---|
| .. | ||
| memory | ||