ci: the release's version and publish run only on the server's runner, the release key sealed with a key only it has #241
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!241
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:ci/sealed-release-key"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This is the launcher's half of Longshot #2123. Both repositories sign with the organization secret
RELEASE_SIGNING_KEY. A runner lent by someone else could addquickto its labels and take Sign and publish, and with it the key.versionandpublishnow ask for labeldeploy, which only the server's quick runner carries.RELEASE_SIGNING_KEY_SEALEDand opens it with the server'sseal.key, mounted only on that runner. The sealing is the same as Longshot'sscripts/ci_secret.sh, inlined here as oneopensslline. A runner withoutseal.keystops with "no /run/magicbean-secrets/seal.key" and signs nothing.RELEASING.mdanddocs/releases.mdname the new secret.Testing
Tested: nothing ran here; the workflow only runs on the forge. The change was checked by reading it.
Still to test:
unraid-quick-1and passesverify(by hand, in the run's log).Risks
If it merges before the server and the secret are ready, launcher nightlies fail until they are. Nothing is published wrongly. Reverting is enough. Players notice nothing.
🤖 Generated with Claude Code
Possibly related, for context:
WIP: ci: the release's version and publish run only on the server's runner, the release key sealed with a key only it hasto ci: the release's version and publish run only on the server's runner, the release key sealed with a key only it has