You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
无捕获组 → 单组分支对整个 match((?s) 下 BEGIN 到文末)maskValue。教学/文档文本字面提及 -----BEGIN PRIVATE KEY----- 且无 END 行时(如 PEM 格式说明),从该行到文末全部压成首4尾4+星号——长文本显示实质破坏。纯显示层不改数据,注释自述"masks to end of buffer"为截断流防泄漏的有意设计,但对字面讨论场景权衡过宽。
Activity
topcheer commentedon Oct 2, 2026
修复 PR:#3085(分支 fix-3084-pem,commit b006f52)。V2 前缀枚举加 ENCRYPTED;V1 truncated 模式加 base64 体门控。zz_issue3084_test.go 2 组断言,internal/security 全绿。待验收。
Merge pull request #3085 from topcheer/fix-3084-pem