Revisit SSL context fallback behavior when system CA store is unavailable
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
调研方向
Start by reading the SSLContextFactory path around set_authority(None)? and the set_client_verify(false) fallback. Determine the intended behavior when the system CA store is unavailable, then define and implement a decided warning, failure, or configuration policy with coverage for that fallback path.
由索引模型根据 Issue 内容生成。
描述
SSLContextFactory attempts to create a verified SSL context via set_authority(None)?, which asks OpenSSL to use the default system CA store. When the CA store isn't discoverable (e.g. WSL2 without ca-certificates), this fails. Currently we fall back to set_client_verify(false), matching what ponylang/http's HTTPClient did silently.
This means every API call from the library — not just examples — silently downgrades to unverified HTTPS when no CA store is found. That's fine for local development but worth thinking through for a library that sends auth tokens over the wire.
Questions to consider:
- Should the library warn or fail loudly when falling back to unverified SSL?
- Should this be configurable via Credentials or a separate option?
- Is the silent fallback actually the right default for a GitHub API client?
- 主要语言
- Pony
- 星标
- 7
- 派生
- 2
- 平均合并
- 2 小时 26 分钟
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ponylang/github_rest_api 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
ponylang/github_rest_api#108 ·
-
难度 4/5 3-5 天 新手友好度 35/100
ponylang/github_rest_api#83 ·
查看 ponylang/github_rest_api 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 80/100
microsoft/magentic-ui#588 ·
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
alexgorbatchev/simple-ptt#3 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
CorrelAid/formtransform#44 ·