ftp_ssl_connect peer cert verification
未关闭
还没有人认领这个 Issue。
Extension: ftp
Feature
Status: Verified
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.2k
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 103
描述
Description
It would be great if there was a path to transition to secure FTPs connections in PHP.
The current implementation has no peer verification.
However, just patching this now would be a BC break.
A proposal could be an optional parameter that enables a codepath with the typical TLS verification routine (hostname/SAN, cert-dates, trusted signature path).
See also: https://github.com/php/doc-en/pull/3915
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从入口点 ftp_ssl_connect 开始,审查链接的 php/doc-en pull request #3915。明确向后兼容的 API 提案,以及 hostname/SAN、证书日期和受信任签名路径验证的范围;完成条件是达成一致的设计,而不是进行局部编辑。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, php
- 领域
- backend-api-design, security
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100