Dynamically set ECH configuration
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- rust
- 领域
- networking, security
调研方向
从 ClientConfig 和 ConfigBuilder::with_ech 开始,然后追踪现有的 TLS 版本约束是如何表示和验证的。比较公开 ech_mode 与添加 ClientConfig 方法这两种方案;当构造出的配置能够安全地接收 ECH 设置(包括 issue 中描述的不支持的 TLS 版本情况)时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Checklist
- I've searched the issue tracker for similar requests
Is your feature request related to a problem? Please describe.
While it is possible to enable ECH with the ConfigBuilder::with_ech method, once a ClientConfig has been constructed, that configuration cannot be changed. I have opened an issue over at seanmonstar/reqwest#3035 and this inability of dynamically providing an ECH configuration (dynamically as in with a ClientConfig struct) is currently preventing us from supporting ECH, since in reqwest, a HTTP Client may be used for connections to URLs with different domains.
Describe the solution you'd like
Publicly expose the ech_mode field of the ClientConfig struct (may not be possible due to ECH requiring a TLS version of 1.3 or newer and this might conflict with any previously-defined configuration)
Describe alternatives you've considered
Create a new method for ClientConfig that sets the ech_mode private field of the struct, raising an error if the ClientConfig uses an unsupported TLS version (< 1.3).
Additional context
Related reqwest issue: seanmonstar/reqwest#3035
- 主要语言
- Rust
- 星标
- 7.7k
- 派生
- 947
- 平均合并
- 3 天 11 小时
- 30 天内合并 PR
- 46
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rustls/rustls 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 22/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 55/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 12/100
rustls/rustls#3409 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
pop-os/cosmic-settings#2296 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
Eyevinn/open-live-ingest#36 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
superradcompany/microsandbox#2071 ·
维护者通常 1 天内回复
-
app
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug bug jury peripheral:i2s
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复