Repository navigation
Conversation
…se's signed copy alone CloudFront over a private bucket, as id.<domain> is: the files are a spin release's spin-term.tar.gz, which task term:fetch checks against the signature release.yml made at the tag before it unpacks it, and a plan refuses files of another release than the one named. The bucket's policy refuses every role of the installation a write - whoever writes these files writes the code that asks a person's passkey - and the origin's own policy lets the page reach the dashboard's API and the relay and nothing else. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Security zone: for you to merge. The AWS half of F8's browser terminal (spin#274, merged):
modules/terminalserveshttps://term.<domain>from a spin release's signedspin-term.tar.gz.What it makes
role/${iam_name}-*): a taken control plane cannot replace the page.app.<domain>(the dashboard's API, with the person's session, for the six calls the control plane allows from this origin) and the relay's WebSocket, and nothing else;wasm-unsafe-evalfor the terminal's Go.aws.us_east_1provider, and is validated in the installation's public zone.Pinned to the release
filesis a directorytask term:fetch RELEASE=<tag> OUT=termmade. It verifies the tarball with cosign against the signature spin's release workflow made at that tag before it unpacks it.filesare another release's thanreleaseis refused by a precondition onRELEASE.Not yet deployable
No spin release ships
spin-term.tar.gzyet. The first release cut after spin#274 does, and the module can be wired into an installation from then. The module's tests (modules/terminal/tests) run against fixtures and do not need it.Gates
task lintpasses: fmt, validate, tflint, docs, and the module'sterraform test(2 runs: the page published as the release's, and files of another release refused).🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.