Repository navigation
feat(agents): pin FTW Cloud's offer key - #1680
Merged
Merged
Conversation
The box page opens a signed grant offer only under a pinned offer key. Pin cloud.ftw.energy's key, kid s0xLrCPjFa-AoMMl, from KMS alias ftw-cloud-offer-key. ftwkeysd and KMS gave the same public half, and /.well-known/ftw-offer-key publishes it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
FTW Cloud's consent page hands the owner a signed grant offer. The box opens an offer only when its signature checks against an offer key this build pins (
cloudlink.OfferKeys, docs/agents.md "The grant offer"). The list was empty, so every release build refused every offer, and an owner could not approve an assistant on the box page.Change
OfferKeyspins cloud.ftw.energy's offer key:s0xLrCPjFa-AoMMlBEUBb8ul2T01OWM_f1rX6h8Z0yFf8BkvEtUxdHsc_FXGtKv8arbcDZcPeeVOoX6nIxdP2SKYpHky9KSw-cqH-8gThe key is the KMS key
alias/ftw-cloud-offer-keyin eu-north-1 (ECC_NIST_P256,SIGN_VERIFY), made on 17 October 2026 by srcfl/ftw-clouddeploy/keys.md. Its private half never leaves KMS. Three sources agree on the public half:ftwkeysd offerkeyon the host,aws kms get-public-keyfrom an admin workstation, andhttps://cloud.ftw.energy/.well-known/ftw-offer-key.TestReleasePinsTheCloudOfferKeychecks that the pin parses to one key under its own kid. A typo would leave the list empty, and the box would again open nothing.Pair
srcfl/ftw-app#80 pins the same key in
OfferKeys.releasePinsfor the iOS app's approval path. The two PRs can land in either order.Tests
go test ./internal/cloudlink/ ./internal/api/ ./cmd/ftw/🤖 Generated with Claude Code