rfc/encryption.md describes encryption config the proxy doesn't read
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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時間
- マージ済み PR(30日)
- 62
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン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 effort:s impact:med raised-by:desk risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
medici-finance/assay#8342 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug sweep
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
bketelsen/truenas-mcp#120 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nwverse/persona#22164 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sresarehumantoo/cc-artex#559 ·