Support custom peer identity verification while retaining standard TLS authentication
维护者通常 1 天内回复
@dzsquared 已经在做这个了。
开始于 2026年11月10日。
评估
调研方向
Read CONTRIBUTING.md and Core’s TlsOptions.server_cert_verifier to understand the existing verification boundary. The issue says a draft implementation will follow, so wait for that before locating SDK entry points. Done means the proposed callback rules are implemented and real handshake negative tests cover rejection cases, while default TLS behavior remains unchanged.
由索引模型根据 Issue 内容生成。
描述
Proposal: expose an optional synchronous TLSConfig.peer_identity_verifier(cert_der: bytes) -> None callback. The Rust bridge validates the trust chain, validity and server-auth usage before calling it, and retains rustls handshake-signature verification. The callback replaces DNS hostname matching only; SNI and HTTP/2 authority remain unchanged. An exception or non-None return rejects the handshake. Require explicit root CAs and reject combinations with verification_server_name.
This supports application identities encoded in private X.509 extensions without duplicating cryptographic verification. It builds on Core’s TlsOptions.server_cert_verifier, is distinct from #2103, and needs real handshake negative tests. Callbacks must be fast, thread-safe, synchronous and independent of SDK calls.
Opening for design discussion per CONTRIBUTING.md; a draft implementation will follow. Default TLS behavior is unchanged.
🤖 jjaegerman’s Aimee
- 主要语言
- Python
- 星标
- 1.3k
- 派生
- 305
- 平均合并
- 3 天 23 小时
- 30 天内合并 PR
- 44
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
temporalio/sdk-python 的其他 Issue
-
[Bug] Catching the ValueError from upsert_search_attributes (naive datetime) still leaves a workflow stuck retrying its task可能已有人在做 @VegetarianOrc 今天认领。 未关闭sdk-python
temporalio/sdk-python#2200 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug] Python: replayed Local Activity timeout causes NDE (TimeoutError not wrapped in ActivityError)可能已有人在做 @mjameswh 于 1 天前认领。 未关闭bug sdk-python
temporalio/sdk-python#2183 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug] workflow_streams: subscribe() raises RPCError when a publish signal lands during the continue-as-new workflow task可能已有人在做 @feiiiiii5 于 5 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 52/100
temporalio/sdk-python#2170 ·
维护者通常 1 天内回复
-
[Bug] Deadlock interruption can leak CPython's import lock and freeze the worker (still on Python 3.13/3.14)可能已有人在做 @tconley1428 于 21 天前认领。 未关闭sdk-python
难度 5/5 一周以上 新手友好度 25/100
temporalio/sdk-python#2115 ·
维护者通常 1 天内回复
-
Cloud CI Skips Nexus Tests可能重新可做 @tconley1428 于 114 天前认领,目前没有进行中的 PR。 未关闭
temporalio/sdk-python#1704 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 temporalio/sdk-python 的全部 Issue
相似的 Issue
-
area:print-dispatch
难度 2/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area/geometry good first issue help wanted kind/doc-mismatch severity/4-minor
难度 2/5 1-3 小时 新手友好度 68/100
Apich-Organization/rssn#295 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
-
chore claimed
难度 2/5 1-3 小时 新手友好度 72/100
schuyler/corvidae#1424 · 2 条评论 ·
维护者通常 1 天内回复