More flexible crypto config
维护者通常 23 天内回复
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cpp
调研方向
该 issue 没有指定文件、测试或入口点。首先阅读 issue #197 以及列出的动机和 WIP 任务;要完成这项工作,需要解决范围问题,并完成运行时可用性、密码套件通告与初始化、非 x86 平台上的 libsodium 以及 ChaCha20-Poly1305 这些事项。
由索引模型根据 Issue 内容生成。
描述
With the protocol supporting negotiable cipher suites, some additional changes to support a more flexible crypto config seem like they could be useful.
Motivations:
There may be situations where:
- A dependent project wishes to link with a specific crypto library (ex. libsodium) that does not offer AES-GCM on all systems (possibly depending on processor architecture / extensions).
- Additional ciphers (like the commented-out
k_ESteamNetworkingSocketsCipher_CHACHA20_POLY1305) with different performance characteristics or system / crypto library compatibility are desired. - A dependent project is fine with advertising "best-effort" encryption, which falls back to advertising "null cipher"-only if a particular system + crypto library combination cannot support any.
Additionally (although not considered in-scope at this time, but the work in this should help):
- A dependent project may not wish to link GameNetworkingSockets with any of its supported crypto libraries (and may be fine with GameNetworkingSockets itself not implementing encryption at all, perhaps because it already handles this).
Tasks (WIP):
- AES-GCM runtime availability check
(#197) - Advertise / initialize AES_GCM cipher only if supported
(#197) - Support building with libsodium on non-x86/x86_64 CPUs (with an appropriate default warning that this means there will not be AES-GCM support).
- Add support for
k_ESteamNetworkingSocketsCipher_CHACHA20_POLY1305. (@fletcherdvalve: Should this be the
IETF variant of ChaCha20-Poly1305?)
- 主要语言
- C++
- 星标
- 10.1k
- 派生
- 781
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/GameNetworkingSockets 的其他 Issue
-
ICE (native client): relay-only connections time out against a real TURN server; host-socket checks starve the relay pairs可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 79/100
ValveSoftware/GameNetworkingSockets#452 ·
维护者通常 23 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
ValveSoftware/GameNetworkingSockets#475 ·
维护者通常 23 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
ValveSoftware/GameNetworkingSockets#474 ·
维护者通常 23 天内回复
-
难度 4/5 一周以上 新手友好度 12/100
ValveSoftware/GameNetworkingSockets#465 ·
维护者通常 23 天内回复
-
Native ICE resolves STUN/TURN hostnames under the global lock可能已有人在做 @tintinhamans 于 64 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 55/100
ValveSoftware/GameNetworkingSockets#440 ·
维护者通常 23 天内回复
查看 ValveSoftware/GameNetworkingSockets 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
deepseek-ai/DeepGEMM#529 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
compiler-explorer/compiler-explorer#9710 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ucb-bar/libgemmini#10 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs first未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Quantinuum/tket#2282 ·
维护者通常 1 天内回复