rfc/encryption.md describes encryption config the proxy doesn't read
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 71/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- go
调研方向
阅读 issue 中建议的修复,并将面向运维人员的指南与当前配置和示例进行比较,尤其是 internal/config/encryption.go、examples/kms/config.yaml 以及 rfc/encryption.md 中的相关章节。在 rfc/ 之外记录 KEK 轮换,包括此处描述的配置名称和重启行为。完成标准是运维人员拥有与代理行为相符的明确轮换流程。
由索引模型根据 Issue 内容生成。
描述
Following the KEK rotation steps in rfc/encryption.md makes older payloads unreadable, and nothing fails at startup to warn you.
The RFC says to keep the old KEK under decryptOnlyURIs:
The proxy reads decryptURIs, and its config loader ignores keys it doesn't recognize:
So the proxy starts normally with the RFC's config, but the old KEK is never registered. Every payload sealed under it then fails to open with unknown key. Renaming the key to decryptURIs fixes it.
The RFC is a historical record, so it stays as written. The rest of this issue lists the other places its config has drifted from the proxy, all checked at d34391c.
Extension server keys
The RFC configures them with an externalServers map and an endpoint on the policy:
The proxy uses an extensionServers list and an extension://<server>/<key> URI. The RFC's spelling is silently ignored here too.
Decrypt-only mode
The RFC says default is optional when encryption is disabled:
Without default, the proxy builds no vault, so sealed payloads pass through unopened:
Required uri and duration
The RFC marks duration optional. It also says a policy with no uri is skipped, so an override can fall back to default.
The proxy rejects any policy, including an override, that is missing either one:
Negative cacheSize
The RFC says any value of 0 or less disables the DEK cache:
The proxy accepts 0 but rejects negative values:
Missing namespaceBinding
The RFC's field reference example omits it. The proxy requires it whenever keys are configured, so the example doesn't load:
Reusing a key
The RFC doesn't mention it. The proxy fails at startup if the same key appears in more than one place:
Extension server proto
The RFC's sketch calls the service KMSService and passes the Namespace on decrypt:
The real service is EncryptionService, and decrypt takes only the ciphertext:
Reload
The RFC says new keys apply on reload. The proxy reads its config only at startup, so they apply on restart.
Suggested fix
Document KEK rotation outside rfc/, where operators will look.
- 主要语言
- Go
- 星标
- 32
- 派生
- 14
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 62
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
temporalio/temporal-proxy 的其他 Issue
-
Reject unknown config keys at startup可能已有人在做 @pseudomuto 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
temporalio/temporal-proxy#330 ·
维护者通常 1 天内回复
-
Reject requests when translated Namespace is not a valid Cloud Namespace可能重新可做 @kriyanshii 于 17 天前认领,目前没有进行中的 PR。 未关闭enhancement good first issue
难度 2/5 1-3 小时 新手友好度 78/100
temporalio/temporal-proxy#281 · 1 条评论 ·
维护者通常 1 天内回复
-
Don't seal compute provider and scaler details on worker deployment calls可能已有人在做 @rahulsjha 今天认领。 未关闭enhancement good first issue
难度 3/5 1-2 天 新手友好度 68/100
temporalio/temporal-proxy#334 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
temporalio/temporal-proxy#178 ·
维护者通常 1 天内回复
查看 temporalio/temporal-proxy 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
seriousm4x/UpSnap#1786 ·
-
bug feedback ui/ux
难度 2/5 1-3 小时 新手友好度 67/100
peasant-labs/peasant#1307 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
connectrpc/conformance#1211 ·
维护者通常 1 天内回复
-
bug effort:s impact:med raised-by:desk risk:low
难度 2/5 1-3 小时 新手友好度 75/100
medici-finance/assay#8342 · 1 条评论 ·
维护者通常 1 天内回复
-
hardening
难度 2/5 1-3 小时 新手友好度 82/100
inference-sim/inference-sim#2821 ·
维护者通常 1 天内回复